changeset 183:5d52f08633c0

Added onInstanceActionFrame to BaseBehaviour. This fixes the "blinking Objects" problem.
author KarstenBock@gmx.net
date Fri, 21 Oct 2011 13:39:40 +0200
parents 59c9ce2b8351
children 9d9c4ccc081e
files src/parpg/behaviours/base.py
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/parpg/behaviours/base.py	Tue Oct 11 14:47:37 2011 +0200
+++ b/src/parpg/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