Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/DrawableObjectTests/TestObject
blob: 3dbdc604eab31d2539c8ffc93d651272e31a0ad9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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