projects
/
naja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make scenes take the game state.
[naja.git]
/
naja
/
scenes
/
scene.py
diff --git
a/naja/scenes/scene.py
b/naja/scenes/scene.py
index f0acf21bdf9f62a1f9fef85a1f3ce4771234c116..ce0b68488eb1a0dc6369fa37c3dd4902cdb8d3e8 100644
(file)
--- a/
naja/scenes/scene.py
+++ b/
naja/scenes/scene.py
@@
-9,7
+9,8
@@
class Scene(object):
E.g. Splash screen, game board, credits, win, lose.
"""
E.g. Splash screen, game board, credits, win, lose.
"""
- def __init__(self):
+ def __init__(self, state):
+ self.state = state
self.widgets = []
def enter(self):
self.widgets = []
def enter(self):