Commit e4662cb5 by BellCodeEditor

save project

parent bb5c816b
Showing with 4 additions and 0 deletions
...@@ -30,6 +30,10 @@ class Player(Hero): # 玩家英雄 ...@@ -30,6 +30,10 @@ class Player(Hero): # 玩家英雄
self.hoer_type = hoer_type self.hoer_type = hoer_type
print("玩家的血量值为:",self.hp) print("玩家的血量值为:",self.hp)
print("玩家的攻击力为:",self.attack) print("玩家的攻击力为:",self.attack)
print(self.name)
print(self.hoer_type)
player = Player("后羿","老六") player = Player("后羿","老六")
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