refactor: add base class for all game objects

This commit is contained in:
Giovani Rodriguez
2021-06-08 12:33:58 -04:00
parent 4ddb9f70cd
commit 2759b2f293
7 changed files with 61 additions and 23 deletions

14
entity/Entity.py Normal file
View File

@@ -0,0 +1,14 @@
import pygame
class Entity:
def __init__(self):
pass
def update(self) -> None:
pass
def draw(self, surface: pygame.Surface) -> None:
pass
def collide(self, entity) -> bool:
pass