Commit 75e73994 by BellCodeEditor

save project

parent 1fd9113d
Showing with 2 additions and 0 deletions
...@@ -14,6 +14,8 @@ class Hero(object): ...@@ -14,6 +14,8 @@ class Hero(object):
print(info) print(info)
else: else:
print(enemy.name+"阵亡了"+"游戏结束") print(enemy.name+"阵亡了"+"游戏结束")
def cure(self):
# exit() # exit()
yase = Hero("垭瑟") yase = Hero("垭瑟")
houyi= Hero("后羿") houyi= Hero("后羿")
......
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