Commit 903226d7 by BellCodeEditor

save project

parent 2320a8f8
Showing with 0 additions and 2 deletions
...@@ -18,6 +18,5 @@ class Hero(object): ...@@ -18,6 +18,5 @@ class Hero(object):
info3=enemy.NAME+'被'+self.NAME+'杀死,游戏结束。' info3=enemy.NAME+'被'+self.NAME+'杀死,游戏结束。'
info=info1+info2+info3 info=info1+info2+info3
print(info) print(info)
YASE = Hero("亚瑟")
HOUYI= Hero("后羿") HOUYI= Hero("后羿")
yase.combat(HOUYI) yase.combat(HOUYI)
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment