Esempio n. 1
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
Esempio n. 2
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
 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
Esempio n. 4
0
 def __init__(self, name=None, description=None):
     Locatable.__init__(self)
     self.name = name
     self.description = description
 def __init__(self, name=None, description=None):
     Locatable.__init__(self)
     self.name = name
     self.description = description