Madra_smieciarka/classes/Tile.py
2024-03-19 18:52:31 +01:00

23 lines
475 B
Python

class Tile:
def __init__(self):
self.position = None
self.image = None
self.parent = None
def getSprite(self):
return self.image
def setSprite(self, sprite):
self.image = sprite
def getPosition(self):
return self.position
def setPosition(self, position):
self.position = position
def getParent(self):
return self.parent
def setParent(self, parent):
self.parent = parent