Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/DrawableObjectTests/TestObject.py
diff options
context:
space:
mode:
authorjlew <jlew.blackout@gmail.com>2010-08-05 02:27:54 (GMT)
committer jlew <jlew.blackout@gmail.com>2010-08-05 02:34:17 (GMT)
commita40c23156be43a23df3f93eb0355cd4f21763233 (patch)
tree5a852419761143ceeada401867825c534eeb31d7 /DrawableObjectTests/TestObject.py
parent4e706cac2b99b7eb4b98bd55d5a28da728d4cf39 (diff)
parent50df09bbfa69fe00b16ea8ec9ceabadba5ce7d08 (diff)
Merge branch 'animationrework'
Conflicts: MAFH2/BattleEngine.py
Diffstat (limited to 'DrawableObjectTests/TestObject.py')
-rw-r--r--DrawableObjectTests/TestObject.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/DrawableObjectTests/TestObject.py b/DrawableObjectTests/TestObject.py
new file mode 100644
index 0000000..3dbdc60
--- /dev/null
+++ b/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