diff options
author | davesilver <nibor123@gmail.com> | 2010-07-19 17:05:32 (GMT) |
---|---|---|
committer | davesilver <nibor123@gmail.com> | 2010-07-19 17:05:32 (GMT) |
commit | 0596cc74e3fe5a1a276129b7100fca8361e963bf (patch) | |
tree | 1f0b52fbc71768c8a51481029c8878d660f0def4 /DrawableObjectTests/DrawableObjectMoveScaleTest.py | |
parent | 77c48df1d8418deacf165868b9f2addc10308f0f (diff) |
Updating Tests
Diffstat (limited to 'DrawableObjectTests/DrawableObjectMoveScaleTest.py')
-rwxr-xr-x | DrawableObjectTests/DrawableObjectMoveScaleTest.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/DrawableObjectTests/DrawableObjectMoveScaleTest.py b/DrawableObjectTests/DrawableObjectMoveScaleTest.py index 3e5fb95..89ab10a 100755 --- a/DrawableObjectTests/DrawableObjectMoveScaleTest.py +++ b/DrawableObjectTests/DrawableObjectMoveScaleTest.py @@ -28,7 +28,7 @@ def blitAndFlip(): while cnt < myScene.getListSize(): print cnt - screen.blit(myScene.getObject(cnt).image[0], [myScene.getObject(cnt).getXPos(),myScene.getObject(cnt).getYPos()]) + screen.blit(myScene.getObject(cnt).image, [myScene.getObject(cnt).getXPos(),myScene.getObject(cnt).getYPos()]) cnt += 1 @@ -70,11 +70,12 @@ switch2 = [ [pygame.image.load("%sa2/9%s"%("IndividualFrames/bmp16/",".bmp"))] ] - dynamicObj = DynamicDrawableObject(switch3,'',1,39,3, 2, 2) secondDynamicObj = DynamicDrawableObject(switch1,'',1,39,100, 3, 3) staticObj = DynamicDrawableObject(switch2,'',1,40,43, 4, 4) +dynamicObj.setColorKey(pygame.Color("0xFF9900")) + initialList = [dynamicObj, secondDynamicObj] secondaryList = [staticObj] |