Mercurial > parpg-core
diff src/parpg/behaviours/moving.py @ 88:d89e88a90c9e
Implemented creation of dynamic entities.
author | KarstenBock@gmx.net |
---|---|
date | Sun, 18 Sep 2011 16:26:12 +0200 |
parents | 9f8faf6e974d |
children | ecac92680bef |
line wrap: on
line diff
--- a/src/parpg/behaviours/moving.py Sun Sep 18 16:07:07 2011 +0200 +++ b/src/parpg/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