This commit is contained in:
Christian
2024-08-07 16:21:02 +02:00
parent ff8ff04f45
commit ba21a28ec9
7 changed files with 173 additions and 11 deletions

6
Tiletype.py Normal file
View File

@@ -0,0 +1,6 @@
import pygame
class TileType(object):
def __init__(self, name, start_x, start_y, width, height) -> None:
self.name = name
self.rect = pygame.rect.Rect(start_x, start_y, width, height)