diff behaviours/base.py @ 151:4c11d9d8b19d

Added onInstanceActionFrame to BaseBehaviour. This fixes the "blinking Objects" problem.
author KarstenBock@gmx.net
date Fri, 21 Oct 2011 13:39:40 +0200
parents 57f1cff9a75d
children
line wrap: on
line diff
--- 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