Commit 15e1444b by BellCodeEditor

save project

parent de4832c0
Showing with 2 additions and 4 deletions
......@@ -20,10 +20,9 @@ class Hero(object):
print(info)
exit()
class Player(Hero):
def super__init__(self,name):
self.level = 1
def __init__(self,name):
super().__init__(name)
self.hp = 200
self.attack = 50
self.name=name
yase = Hero("垭瑟")
houyi= Hero("后羿")
\ 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