Mercurial > parpg-source
comparison behaviours/base.py @ 61:2727d6b78978
Implemented creation of dynamic entities.
author | KarstenBock@gmx.net |
---|---|
date | Sun, 18 Sep 2011 16:26:12 +0200 |
parents | 3f6299f975fe |
children | a9cc5559ec2a |
comparison
equal
deleted
inserted
replaced
60:e2004c9549d7 | 61:2727d6b78978 |
---|---|
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: ??? |