Make scenes take the game state.
[naja.git] / naja / scenes / scene.py
index f0acf21bdf9f62a1f9fef85a1f3ce4771234c116..ce0b68488eb1a0dc6369fa37c3dd4902cdb8d3e8 100644 (file)
@@ -9,7 +9,8 @@ class Scene(object):
 
     E.g. Splash screen, game board, credits, win, lose.
     """
-    def __init__(self):
+    def __init__(self, state):
+        self.state = state
         self.widgets = []
 
     def enter(self):