comparison pyntnclick/gamescreen.py @ 614:974cc69d3762 pyntnclick

Special cases aren't special enough to be named special.
author Simon Cross <hodgestar+bzr@gmail.com>
date Sat, 11 Feb 2012 21:22:24 +0200
parents 44d4e3020874
children cb01c3a09ee1
comparison
equal deleted inserted replaced
613:44d4e3020874 614:974cc69d3762
202 surface.fill(self.bg_color) 202 surface.fill(self.bg_color)
203 Row.draw(self, surface) 203 Row.draw(self, surface)
204 204
205 205
206 class GameScreen(Screen, CursorWidget): 206 class GameScreen(Screen, CursorWidget):
207 def __init__(self, shell, game_description): 207 def __init__(self, game_description):
208 CursorWidget.__init__(self, self) 208 CursorWidget.__init__(self, self)
209 Screen.__init__(self, shell)
210 self.running = False 209 self.running = False
211 self.create_initial_state = game_description.initial_state 210 self.create_initial_state = game_description.initial_state
212 211
213 def _clear_all(self): 212 def _clear_all(self):
214 for widget in self.subwidgets[:]: 213 for widget in self.subwidgets[:]: