changeset 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 80672955ab70
children 76041ed90a5d
files behaviours/base.py
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
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