projects
/
naja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'master' of git+ssh://ctpug.org.za/naja
[naja.git]
/
naja
/
engine.py
diff --git
a/naja/engine.py
b/naja/engine.py
index 84bf9d0efc84e167a637216b9e7572bd1d7b14ee..f17f9c221d17e758cb6b063399b492b30534f2ff 100644
(file)
--- 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()