Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/DrawableObjectTests/DrawableObjectMoveScaleTest.py
diff options
context:
space:
mode:
authordavesilver <nibor123@gmail.com>2010-07-19 15:44:10 (GMT)
committer davesilver <nibor123@gmail.com>2010-07-19 15:44:10 (GMT)
commit020c58aeedc422c90c7855d111cc6f468f71098a (patch)
treeed833a692c6814baa226aa2f967dffaccb05ede7 /DrawableObjectTests/DrawableObjectMoveScaleTest.py
parent48d87287c470a989ef77ffa7849459c88a8a65a0 (diff)
Updating Tests
Diffstat (limited to 'DrawableObjectTests/DrawableObjectMoveScaleTest.py')
-rwxr-xr-xDrawableObjectTests/DrawableObjectMoveScaleTest.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/DrawableObjectTests/DrawableObjectMoveScaleTest.py b/DrawableObjectTests/DrawableObjectMoveScaleTest.py
index fdd4dc8..e7c9075 100755
--- a/DrawableObjectTests/DrawableObjectMoveScaleTest.py
+++ b/DrawableObjectTests/DrawableObjectMoveScaleTest.py
@@ -69,7 +69,10 @@ switch2 = [
[pygame.image.load("%sa2/9%s"%("IndividualFrames/bmp16/",".bmp"))]
]
-dynamicObj = DynamicDrawableObject(switch1,'',1,39,3, 2, 2)
+spriteSheet = Spritesheet("IndividualFrames/bmp16/a1/8.bmp")
+switch4 = spriteSheet.extract(1, 1, 40, 40, pygame.Color(255, 153, 0))
+
+dynamicObj = DynamicDrawableObject(switch4,'',1,39,3, 2, 2)
secondDynamicObj = DynamicDrawableObject(switch3,'',1,39,100, 3, 3)
staticObj = DynamicDrawableObject(switch2,'',1,40,43, 4, 4)