diff options
author | Wade Brainerd <wadetb@gmail.com> | 2009-02-15 03:16:49 (GMT) |
---|---|---|
committer | Wade Brainerd <wadetb@gmail.com> | 2009-02-15 03:16:49 (GMT) |
commit | accec322b99671fbf085471bc4b7018556e31733 (patch) | |
tree | 6d48ad8640c4360ffecbbacfd861b3981d74e307 /balloongame.py | |
parent | efc4cae65f59e367102421628d87de4ae641cf44 (diff) |
Increase stroke on hand images.
Strangely not working attempt to show medal screen after balloons.
Diffstat (limited to 'balloongame.py')
-rw-r--r-- | balloongame.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/balloongame.py b/balloongame.py index 14871ea..5c36a15 100644 --- a/balloongame.py +++ b/balloongame.py @@ -19,6 +19,8 @@ from gettext import gettext as _ import gobject, pygtk, gtk, pango +import medalscreen + BALLOON_COLORS = [ (65535, 0, 0), (0, 0, 65535), @@ -119,6 +121,10 @@ class BalloonGame(gtk.VBox): if key_name == 'Return': self.activity.pop_screen() + # Show the new medal if there was one. + if self.medal: + self.activity.push_screen(medalscreen.MedalScreen(self.medal, self.activity)) + else: for b in self.balloons: if b.word[0] == key: |