diff pytouhou/opengl/gamerunner.py @ 151:5cf927cbd9c5

Merge GameState into Game. TODO: Merge PlayerState into Player
author Thibaut Girka <thib@sitedethib.com>
date Tue, 04 Oct 2011 23:32:02 +0200
parents 96c30ffd9b87
children 7769ce7be03c
line wrap: on
line diff
--- a/pytouhou/opengl/gamerunner.py
+++ b/pytouhou/opengl/gamerunner.py
@@ -86,7 +86,7 @@ class GameRunner(pyglet.window.Window, G
 
     def update(self):
         if self.background:
-            self.background.update(self.game.game_state.frame)
+            self.background.update(self.game.frame)
         if self.game:
             #TODO: allow user settings
             keystate = 0