X-Git-Url: https://git.ctpug.org.za/?a=blobdiff_plain;f=naja%2Fengine.py;h=f17f9c221d17e758cb6b063399b492b30534f2ff;hb=380c2dd6953b2f0cd06de6a4dd6a30f61121c7a9;hp=84bf9d0efc84e167a637216b9e7572bd1d7b14ee;hpb=acfcd6aadbcc6c4ba91b4071fc70cb23a460987c;p=naja.git diff --git a/naja/engine.py b/naja/engine.py index 84bf9d0..f17f9c2 100644 --- a/naja/engine.py +++ b/naja/engine.py @@ -6,9 +6,10 @@ from naja.events import SceneChangeEvent, QuitGameEvent class Engine(object): - def __init__(self, surface, scene): + def __init__(self, surface, scene, state): self._surface = surface self._scene = scene + self._state = state def run(self): clock = pygame.time.Clock()