Ejemplo n.º 1
0
    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.'''
Ejemplo n.º 2
0
Archivo: actor.py Proyecto: jiiieff/pyf
	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.'''
Ejemplo n.º 3
0
 def __init__(self, gamer=None, x=None, y=None):
     Item.__init__(self, gamer, x, y)
     self.isCharacter = True
     self.lastMove = None
Ejemplo n.º 4
0
 def __init__(self, name,  uses, strength):
     Item.__init__(self, name, uses)
     self.strength = strength
Ejemplo n.º 5
0
 def __init__(self, name, strength):
     Item.__init__(self, name, 1)
     self.strength = strength