This repository has been archived on 2019-12-09. You can view files and clone it, but cannot push or open issues or pull requests.
pacman2/engine/scene.py

12 lines
244 B
Python
Raw Normal View History

2019-11-23 10:46:25 +01:00
class Scene:
def __init__(self):
self.entities = []
def unload(self):
for entity in self.entities:
entity.unregister()
def load(self):
for entity in self.entities:
entity.register()