diff options
Diffstat (limited to 'anim/DrawableObjectTests/TestObject.py')
-rw-r--r-- | anim/DrawableObjectTests/TestObject.py | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/anim/DrawableObjectTests/TestObject.py b/anim/DrawableObjectTests/TestObject.py new file mode 100644 index 0000000..3dbdc60 --- /dev/null +++ b/anim/DrawableObjectTests/TestObject.py @@ -0,0 +1,16 @@ +import pygame
+from DrawableObject import DrawableObject
+
+class TestObject:
+
+ def __init__(self, drawableObject):
+
+ self.myDrawableObject = drawableObject
+
+ def changeSize(self, x, y):
+
+ self.myDrawableObject.scale(x,y)
+
+ def getDrawable(self):
+
+ return self.myDrawableObject
\ No newline at end of file |