Mercurial > touhou
diff pytouhou/opengl/gamerenderer.pyx @ 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 | 4f46717390aa |
children | 7e7368356445 |
line wrap: on
line diff
--- a/pytouhou/opengl/gamerenderer.pyx +++ b/pytouhou/opengl/gamerenderer.pyx @@ -151,8 +151,8 @@ cdef class GameRenderer: glDisable(GL_FOG) self.render_elements(game.enemies) self.render_elements(game.players) - self.render_elements(game.game_state.bullets) - self.render_elements(game.game_state.items) + self.render_elements(game.bullets) + self.render_elements(game.items) #TODO: display item indicators glEnable(GL_FOG)