diff pytouhou/opengl/gamerenderer.pyx @ 161:7e7368356445

Add bullet cancel anim support
author Thibaut Girka <thib@sitedethib.com>
date Tue, 11 Oct 2011 11:29:33 +0200
parents 5cf927cbd9c5
children 5271789c067d
line wrap: on
line diff
--- a/pytouhou/opengl/gamerenderer.pyx
+++ b/pytouhou/opengl/gamerenderer.pyx
@@ -152,6 +152,7 @@ cdef class GameRenderer:
             self.render_elements(game.enemies)
             self.render_elements(game.players)
             self.render_elements(game.bullets)
+            self.render_elements(game.cancelled_bullets)
             self.render_elements(game.items)
             #TODO: display item indicators
             glEnable(GL_FOG)