diff gamelib/gamescreen.py @ 129:4223d66d88b4

Cursor change when you select a Tool
author Stefano Rivera <stefano@rivera.za.net>
date Tue, 24 Aug 2010 18:36:31 +0200
parents a2f6e975af67
children 0530547a131f
line wrap: on
line diff
--- a/gamelib/gamescreen.py	Tue Aug 24 18:23:24 2010 +0200
+++ b/gamelib/gamescreen.py	Tue Aug 24 18:36:31 2010 +0200
@@ -129,7 +129,7 @@
     def start_game(self):
         self._clear_all()
         # TODO: Randomly plonk the state here for now
-        self.state = initial_state()
+        self.state = initial_state(self)
         self.state_widget = StateWidget(self.state)
         self.add(self.state_widget)