Mercurial > touhou
comparison pytouhou/ui/sdl/gamerenderer.py @ 516:577c3a88fb67
Merge the lists Game.texts and Game.native_texts into the Game.texts dict.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Sun, 11 May 2014 20:25:07 +0200 |
parents | b39ad30c6620 |
children | dacdcca59b66 |
comparison
equal
deleted
inserted
replaced
515:b3193b43a86c | 516:577c3a88fb67 |
---|---|
40 pass | 40 pass |
41 | 41 |
42 | 42 |
43 def render(self, game): | 43 def render(self, game): |
44 self.render_game(game) | 44 self.render_game(game) |
45 self.render_text(game.texts + game.native_texts) | 45 self.render_text(game.texts) |
46 self.render_interface(game.interface, game.boss) | 46 self.render_interface(game.interface, game.boss) |
47 | 47 |
48 | 48 |
49 def render_game(self, game): | 49 def render_game(self, game): |
50 x, y = game.interface.game_pos | 50 x, y = game.interface.game_pos |