Ejemplo n.º 1
0
 def __init__(self, data):
     Entity.__init__(self, data)
     self.name = "Agent"
     self.onenter = data['onenter']
     self.onleave = data['onleave']
     self.attributes = data['start']()
Ejemplo n.º 2
0
 def onEnter(self, actor):
     Entity.onEnter(self, actor)
     self.onenter(actor, self)
Ejemplo n.º 3
0
 def onLeave(self, actor):
     Entity.onLeave(self, actor)
     self.onleave(actor, self)
Ejemplo n.º 4
0
 def __init__(self, data):
     Entity.__init__(self, data)
     self.status = SOLD
Ejemplo n.º 5
0
 def __init__(self, data):
     Entity.__init__(self, data)
     self.status = SOLD
 def __init__(self, data):
     Entity.__init__(self, data)
     self.name = "Agent"
     self.onenter = data['onenter']
     self.onleave = data['onleave']
     self.attributes = data['start']()
 def onLeave(self, actor):
     Entity.onLeave(self, actor)
     self.onleave(actor, self)
 def onEnter(self, actor):
     Entity.onEnter(self, actor)
     self.onenter(actor, self)