Example #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']()
Example #2
0
 def onEnter(self, actor):
     Entity.onEnter(self, actor)
     self.onenter(actor, self)
Example #3
0
 def onLeave(self, actor):
     Entity.onLeave(self, actor)
     self.onleave(actor, self)
Example #4
0
 def __init__(self, data):
     Entity.__init__(self, data)
     self.status = SOLD
Example #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)