diff options
author | davesilver <nibor123@gmail.com> | 2010-07-27 15:18:41 (GMT) |
---|---|---|
committer | davesilver <nibor123@gmail.com> | 2010-07-27 15:18:41 (GMT) |
commit | c252c8fefd5e7d5bf1d4617fd97f9ffd9a24e880 (patch) | |
tree | 4f3f9d821f358876dec8327627c850862402adb5 /devtools | |
parent | bcbd06d299d0103bc3695fb800984a1933f620bd (diff) |
Editing Sprite tests
Diffstat (limited to 'devtools')
-rw-r--r-- | devtools/CompleteTestKit/DynamicDrawableObject2.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/devtools/CompleteTestKit/DynamicDrawableObject2.py b/devtools/CompleteTestKit/DynamicDrawableObject2.py index 46c5c86..44913cd 100644 --- a/devtools/CompleteTestKit/DynamicDrawableObject2.py +++ b/devtools/CompleteTestKit/DynamicDrawableObject2.py @@ -51,8 +51,9 @@ class DynamicDrawableObject(DrawableObject, pygame.sprite.Sprite): #if self.animations[cnt] == self._current_anim:
+ print "last update ", self._last_update
timePassed = t + self._last_update
- print timePassed
+ print "time passed ", timePassed
if (timePassed) > self._delay:
if self._frame < self.animations.get(self._current_anim)[0] or self._frame > self.animations.get(self._current_anim)[1]: #checking if I am in the animation and putting me there if I am not
self._frame = self.animations.get(self._current_anim)[0]
|