diff options
author | davesilver <nibor123@gmail.com> | 2010-07-15 17:11:42 (GMT) |
---|---|---|
committer | davesilver <nibor123@gmail.com> | 2010-07-15 17:11:42 (GMT) |
commit | de7472b8b278316dbd9bf728879efc70b4923543 (patch) | |
tree | 9e7a15cf5008f4897baa8d71f61a28c248284224 /DrawableObjectTests/DrawableObjectMoveScaleTest.py | |
parent | 0d3543a7bdd67c4203e67198df29d77300135cde (diff) |
Updating tests
Diffstat (limited to 'DrawableObjectTests/DrawableObjectMoveScaleTest.py')
-rwxr-xr-x | DrawableObjectTests/DrawableObjectMoveScaleTest.py | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/DrawableObjectTests/DrawableObjectMoveScaleTest.py b/DrawableObjectTests/DrawableObjectMoveScaleTest.py index 4398294..91a431d 100755 --- a/DrawableObjectTests/DrawableObjectMoveScaleTest.py +++ b/DrawableObjectTests/DrawableObjectMoveScaleTest.py @@ -57,9 +57,9 @@ switch2 = [ [pygame.image.load("%sa2/9%s"%("IndividualFrames/bmp16/",".bmp"))] ] -dynamicObj = DynamicDrawableObject(switch1,'',1,0,0, 2, 2) -secondDynamicObj = DynamicDrawableObject(switch1,'',1,0,100, 3, 3) -staticObj = DynamicDrawableObject(switch2,'',1,40,40, 4, 4) +dynamicObj = DynamicDrawableObject(switch1,'',1,39,3, 2, 2) +secondDynamicObj = DynamicDrawableObject(switch1,'',1,39,100, 3, 3) +staticObj = DynamicDrawableObject(switch2,'',1,40,43, 4, 4) initialList = [dynamicObj, secondDynamicObj] secondaryList = [staticObj] @@ -77,7 +77,8 @@ cnt = 0 #cnt += 1 blitAndFlip() time.sleep(3) -myScene.setPosition(100,0) -blitAndFlip() -time.sleep(3) +print myScene.getXSize() +print myScene.getYSize() +print myScene.getXPos() +print myScene.getYPos() |