Mercurial > pyntnclick
comparison gamelib/main.py @ 28:0f25f7b9b37a
Add loading of initial state.
author | Simon Cross <hodgestar+bzr@gmail.com> |
---|---|
date | Sun, 22 Aug 2010 18:48:32 +0200 |
parents | 0a68d137f509 |
children | d449c4674da8 |
comparison
equal
deleted
inserted
replaced
27:5c7bbbdf9296 | 28:0f25f7b9b37a |
---|---|
22 self.show_screen(self.menu_screen) | 22 self.show_screen(self.menu_screen) |
23 | 23 |
24 def main(): | 24 def main(): |
25 pygame.display.init() | 25 pygame.display.init() |
26 pygame.font.init() | 26 pygame.font.init() |
27 display = pygame.display.set_mode(SCREEN) | 27 display = pygame.display.set_mode(SCREEN, SRCALPHA) |
28 shell = MainShell(display) | 28 shell = MainShell(display) |
29 shell.run() | 29 shell.run() |
30 | 30 |