se_uebungen/snake/game_object.py
2026-04-23 16:33:28 +02:00

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 []