6 lines
204 B
Python
6 lines
204 B
Python
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) |