Mercurial > rinkhals
comparison 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 |
comparison
equal
deleted
inserted
replaced
411:03d5cb669298 | 412:1e24eedbf40f |
---|---|
38 | 38 |
39 def start_game(): | 39 def start_game(): |
40 pygame.event.post(engine.START_DAY) | 40 pygame.event.post(engine.START_DAY) |
41 | 41 |
42 def choose_level(): | 42 def choose_level(): |
43 print 'Needs to be implemented. Specify the level name as a parameter' | 43 pygame.event.post(engine.GO_LEVEL_SCREEN) |
44 | 44 |
45 def help_pressed(): | 45 def help_pressed(): |
46 pygame.event.post(engine.GO_HELP_SCREEN) | 46 pygame.event.post(engine.GO_HELP_SCREEN) |
47 | 47 |
48 style = { | 48 style = { |