From accec322b99671fbf085471bc4b7018556e31733 Mon Sep 17 00:00:00 2001 From: Wade Brainerd Date: Sun, 15 Feb 2009 03:16:49 +0000 Subject: Increase stroke on hand images. Strangely not working attempt to show medal screen after balloons. --- (limited to 'balloongame.py') 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: -- cgit v0.9.1