示例#1
0
 def __init__(self, name, description, health_pts):
     Locatable.__init__(self)
     HealthPoints.__init__(self, health_pts)
     self.name = name
     self.description = description
     self.target = Locatable()
     self.move_ai = True
     self.is_dead = False
示例#2
0
 def __init__(self, name):
     Locatable.__init__(self)
     HealthPoints.__init__(self, 100)
     self.description = name
     self.name = "player"
     self.display = "@"
     self.display_priority = 1
     self.inside = False
 def __init__(self, name):
     Locatable.__init__(self)
     HealthPoints.__init__(self, 100)
     self.description = name
     self.name = "player"
     self.display = "@"
     self.display_priority = 1
     self.inside = False