Commit 4dd8490e by BellCodeEditor

save project

parent 31e38174
Showing with 0 additions and 2 deletions
...@@ -24,8 +24,6 @@ class Hero: # 英雄类 ...@@ -24,8 +24,6 @@ class Hero: # 英雄类
class Player(Hero): # 玩家英雄 class Player(Hero): # 玩家英雄
def __init__(self,name): def __init__(self,name):
class Hero(object):
def __init__(self, name):
self.level = 1 self.level = 1
self.hp = 270 self.hp = 270
self.attack = 40 self.attack = 40
......
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