Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/devtools/CompleteTestKit
diff options
context:
space:
mode:
authordavesilver <nibor123@gmail.com>2010-07-27 14:02:44 (GMT)
committer davesilver <nibor123@gmail.com>2010-07-27 14:02:44 (GMT)
commita86f6220cda08c5fe27a68b7e2057a1c062a2909 (patch)
treedaa4f720770aa78943ddb6dcac0d083120ff34a4 /devtools/CompleteTestKit
parent98bd983f41e4cbcb077cc87040f77f31b70cefb2 (diff)
Editing Sprite tests
Diffstat (limited to 'devtools/CompleteTestKit')
-rw-r--r--devtools/CompleteTestKit/DrawableObject.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/devtools/CompleteTestKit/DrawableObject.py b/devtools/CompleteTestKit/DrawableObject.py
index e4c6f11..8445a10 100644
--- a/devtools/CompleteTestKit/DrawableObject.py
+++ b/devtools/CompleteTestKit/DrawableObject.py
@@ -50,9 +50,9 @@ class DrawableObject(pygame.sprite.Sprite):
def goToAnim(self, animName):
cnt = 0
- while cnt < len(animations):
+ while cnt < len(self.animations):
- if animations[cnt] == animName:
+ if self.animations[cnt] == animName:
self._current_anim = animName
self._frame = self.animations[animName][0]
self.image = self._images[self._frame]