diff pytouhou/ui/gamerenderer.pyx @ 327:13201d90bb22

Display the text when collecting an item.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Thu, 21 Jun 2012 15:01:25 +0200
parents e935ed8dc5e6
children 16ed1ab1e14b
line wrap: on
line diff
--- a/pytouhou/ui/gamerenderer.pyx
+++ b/pytouhou/ui/gamerenderer.pyx
@@ -90,7 +90,7 @@ cdef class GameRenderer(Renderer):
                                        *(player.objects() for player in game.players)))
             self.render_elements(chain(game.bullets, game.lasers,
                                        game.cancelled_bullets, game.items,
-                                       (item.indicator for item in game.items if item.indicator)))
-            #TODO: display item indicators
+                                       (item.indicator for item in game.items if item.indicator),
+				       *(label.objects() for label in game.labels)))
             glEnable(GL_FOG)