13 lines
275 B
Python
13 lines
275 B
Python
import pygame
|
|
|
|
|
|
class GameObject:
|
|
def draw(self, surface: pygame.Surface) -> None:
|
|
pass
|
|
|
|
def update(self, user_input: int, game_objs: list['GameObject']) -> None:
|
|
pass
|
|
|
|
def get_bounding_boxes(self) -> list[pygame.rect.Rect]:
|
|
return []
|
|
|