# HG changeset patch # User KarstenBock@gmx.net # Date 1319197180 -7200 # Node ID 4c11d9d8b19d42b24913b42f2c7de64ccbe52bca # Parent 80672955ab705b7b9146649b1f58a3a2c08b1cbc Added onInstanceActionFrame to BaseBehaviour. This fixes the "blinking Objects" problem. diff -r 80672955ab70 -r 4c11d9d8b19d behaviours/base.py --- a/behaviours/base.py Tue Oct 11 14:47:37 2011 +0200 +++ b/behaviours/base.py Fri Oct 21 13:39:40 2011 +0200 @@ -83,7 +83,9 @@ except IndexError: self.idle() - + def onInstanceActionFrame(self, instance, action, frame): + pass + def getLocation(self): """Get the agents position as a fife.Location object. @rtype: fife.Location