diff pytouhou/ui/gamerenderer.pyx @ 294:94c636f8f863

Add player lasers for MarisaB.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Tue, 21 Feb 2012 14:28:38 +0100
parents 4838e9bab0f9
children f3099ebf4f61
line wrap: on
line diff
--- a/pytouhou/ui/gamerenderer.pyx
+++ b/pytouhou/ui/gamerenderer.pyx
@@ -84,6 +84,7 @@ cdef class GameRenderer(Renderer):
             self.render_elements(enemy for enemy in game.enemies if enemy._visible)
             self.render_elements(game.effects)
             self.render_elements(chain(game.players_bullets,
+                                       game.lasers_sprites(),
                                        game.players,
                                        game.msg_sprites(),
                                        *(player.objects() for player in game.players)))