def __init__(self): Item.__init__(self) self.pronouns = {} self.state = states.Running(self) '''State to handle any input for this actor.''' self.output = None '''Output object last associated with this actor.'''
def __init__(self, gamer=None, x=None, y=None): Item.__init__(self, gamer, x, y) self.isCharacter = True self.lastMove = None
def __init__(self, name, uses, strength): Item.__init__(self, name, uses) self.strength = strength
def __init__(self, name, strength): Item.__init__(self, name, 1) self.strength = strength