diff --git a/engine.py b/engine.py index de2eec3..1f9bd1c 100644 --- a/engine.py +++ b/engine.py @@ -58,6 +58,9 @@ class Object: return surface + def update(self): + return self.rotate_sprites(), self.generate_surface() + def get_dir(path: str): return path.rsplit("/", 1)[0]