Mercurial > parpg-core
comparison src/parpg/behaviours/base.py @ 88:d89e88a90c9e
Implemented creation of dynamic entities.
author | KarstenBock@gmx.net |
---|---|
date | Sun, 18 Sep 2011 16:26:12 +0200 |
parents | 9f8faf6e974d |
children | 9b5498e3bda0 |
comparison
equal
deleted
inserted
replaced
87:b764229a0fad | 88:d89e88a90c9e |
---|---|
57 self.state = _AGENT_STATE_NONE | 57 self.state = _AGENT_STATE_NONE |
58 | 58 |
59 def idle(self): | 59 def idle(self): |
60 """@return: None""" | 60 """@return: None""" |
61 self.state = _AGENT_STATE_IDLE | 61 self.state = _AGENT_STATE_IDLE |
62 self.agent.act('stand', self.agent.getFacingLocation()) | |
63 | 62 |
64 def onInstanceActionFinished(self, instance, action): | 63 def onInstanceActionFinished(self, instance, action): |
65 """@type instance: ??? | 64 """@type instance: ??? |
66 @param instance: ??? | 65 @param instance: ??? |
67 @type action: ??? | 66 @type action: ??? |