diff gamelib/mainmenu.py @ 412:1e24eedbf40f

Implement non-gui parts of level loading communication
author Neil Muller <drnlmuller@gmail.com>
date Sat, 21 Nov 2009 11:34:12 +0000
parents 463802281182
children b112bcf4d435
line wrap: on
line diff
--- a/gamelib/mainmenu.py	Sat Nov 21 11:18:08 2009 +0000
+++ b/gamelib/mainmenu.py	Sat Nov 21 11:34:12 2009 +0000
@@ -40,7 +40,7 @@
             pygame.event.post(engine.START_DAY)
 
         def choose_level():
-            print 'Needs to be implemented. Specify the level name as a parameter'
+            pygame.event.post(engine.GO_LEVEL_SCREEN)
 
         def help_pressed():
             pygame.event.post(engine.GO_HELP_SCREEN)