feat: add collisions
This commit is contained in:
		| @@ -7,6 +7,7 @@ import pygame | ||||
|  | ||||
| import src.objects | ||||
| from src.camera import Camera | ||||
| from src.vec import Vec | ||||
|  | ||||
|  | ||||
| class TrackObjectType(StrEnum): | ||||
| @@ -40,3 +41,6 @@ class TrackObject: | ||||
|  | ||||
|     def render(self, surf: pygame.Surface, camera: Camera): | ||||
|         pass | ||||
|  | ||||
|     def get_collision_polygons(self) -> list[list[Vec]]: | ||||
|         return [] | ||||
|   | ||||
		Reference in New Issue
	
	Block a user