Mercurial > boomslang
comparison gamelib/menu.py @ 124:97322b78d1c1
Minor style cleanups
author | Neil Muller <neil@dip.sun.ac.za> |
---|---|
date | Tue, 24 Aug 2010 17:55:47 +0200 |
parents | b5b6cbf556e6 |
children | a6de33fecb97 |
comparison
equal
deleted
inserted
replaced
123:3b293e3b8829 | 124:97322b78d1c1 |
---|---|
3 # Main menu for the game | 3 # Main menu for the game |
4 | 4 |
5 from albow.screen import Screen | 5 from albow.screen import Screen |
6 from albow.controls import Button, Label | 6 from albow.controls import Button, Label |
7 from albow.layout import Column | 7 from albow.layout import Column |
8 | |
8 | 9 |
9 class MenuScreen(Screen): | 10 class MenuScreen(Screen): |
10 def __init__(self, shell): | 11 def __init__(self, shell): |
11 Screen.__init__(self, shell) | 12 Screen.__init__(self, shell) |
12 StartButton = Button('Start New Game', action = self.start) | 13 StartButton = Button('Start New Game', action = self.start) |