Commit aa7bee30 by BellCodeEditor

save project

parent da60e227
Showing with 5 additions and 0 deletions
......@@ -20,3 +20,7 @@ class Hero(object):
yase = Hero("垭瑟")
houyi= Hero("后羿")
yase.combat(houyi)
def combat(self, enemy):
info1 = self.name+"对"+enemy.name+"发起进攻,"
inio2 =
\ 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