Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/Saludame.activity/challenges_creator.py
diff options
context:
space:
mode:
authorDiego Mazzone <mazzone.diego@gmail.com>2010-12-22 17:19:08 (GMT)
committer Diego Mazzone <mazzone.diego@gmail.com>2010-12-22 17:19:08 (GMT)
commita5ad10b19f83fcd90cc4133b2011be57005e1cb1 (patch)
tree1ea3a92ae0ac680c79d08a2724fc62c730833dd1 /Saludame.activity/challenges_creator.py
parentb79686b7a96b69f6e0ffdf9d730e63061e6d98d4 (diff)
New challenge [Cooking] Drag&Drop challenge. Edge control. Put widgets on the litter bin.
New asset <trash.png>. Function dispose @Window. New events handlers (mouseup, mousemotion). Fix @Images. Changes on: challenges.py, challenges_creator.py, game.py, kid_window.py, main_window.py, utilities.py, widget.py, window.py, windows_controller.py
Diffstat (limited to 'Saludame.activity/challenges_creator.py')
-rwxr-xr-xSaludame.activity/challenges_creator.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/Saludame.activity/challenges_creator.py b/Saludame.activity/challenges_creator.py
index 98b0875..a8107b1 100755
--- a/Saludame.activity/challenges_creator.py
+++ b/Saludame.activity/challenges_creator.py
@@ -18,13 +18,14 @@ class ChallengesCreator:
self.game_man = game_man
- # Multiple Choice window
+ # Multiple Choice and Master window
self.mc_challenge = challenges.MultipleChoice(self.container, self.rect, self.frame_rate, self.windows_controller, self, "mc_challenge_window", self.bg_color)
- self.mc_challenge.set_bg_image("assets/windows/window_1.png")
# True or False window
self.tf_challenge = challenges.TrueOrFalse(self.container, self.rect, self.frame_rate, self.windows_controller, self, "tf_challenge_window", self.bg_color)
- self.tf_challenge.set_bg_image("assets/windows/window_1.png")
+
+ # Cooking window
+ self.cooking_challenge = challenges.Cooking(self.container, self.rect, self.frame_rate, self.windows_controller, "cooking_challenge_window", self.bg_color)
# Tuples of mc_challenges
self.mc_challenges = []