diff options
author | slm <jtmengel@gmail.com> | 2010-08-05 18:21:45 (GMT) |
---|---|---|
committer | slm <jtmengel@gmail.com> | 2010-08-05 18:21:45 (GMT) |
commit | 725c625e6f129e7972177483b59295e9e3d8b0a9 (patch) | |
tree | 0e7c72bb56b5695acc7faeac18b5af9ca64f0dec /anim/DrawableObjectTests/TestObject.txt | |
parent | 04334feb88aa124afca62dec8f4f742539c90e3e (diff) |
Added files which I had previously forgotten to add
Diffstat (limited to 'anim/DrawableObjectTests/TestObject.txt')
-rw-r--r-- | anim/DrawableObjectTests/TestObject.txt | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/anim/DrawableObjectTests/TestObject.txt b/anim/DrawableObjectTests/TestObject.txt new file mode 100644 index 0000000..3dbdc60 --- /dev/null +++ b/anim/DrawableObjectTests/TestObject.txt @@ -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 |