Exemple #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.'''
Exemple #2
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.'''
 def __init__(self, gamer=None, x=None, y=None):
     Item.__init__(self, gamer, x, y)
     self.isCharacter = True
     self.lastMove = None
Exemple #4
0
 def __init__(self, name,  uses, strength):
     Item.__init__(self, name, uses)
     self.strength = strength
Exemple #5
0
 def __init__(self, name, strength):
     Item.__init__(self, name, 1)
     self.strength = strength