Mercurial > parpg-source
diff behaviours/moving.py @ 61:2727d6b78978
Implemented creation of dynamic entities.
author | KarstenBock@gmx.net |
---|---|
date | Sun, 18 Sep 2011 16:26:12 +0200 |
parents | 3f6299f975fe |
children | 57f1cff9a75d |
line wrap: on
line diff
--- a/behaviours/moving.py Sun Sep 18 16:07:07 2011 +0200 +++ b/behaviours/moving.py Sun Sep 18 16:26:12 2011 +0200 @@ -57,6 +57,11 @@ else: self.idle_counter += 1 + def idle(self): + """@return: None""" + BaseBehaviour.idle(self) + self.agent.act('stand', self.agent.getFacingLocation()) + def run(self, location): """Makes the PC run to a certain location @type location: fife.ScreenPoint