Commit ae252632 by BellCodeEditor

save project

parent 61de88e1
Showing with 24 additions and 0 deletions
class Player(Hero):
def _init_(self,name,hero_type):
super(Player,self)._init_(name)
self.hp = 200
self.attack = 50
self.hero_type = hero_type
print("搅屎"+self.name+"",self.hero_type)
print("",self.level,self.hp,self.attack)
houyi = Player("","")
yase = Hero("")
class Player(Hero):
class Player(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