Mercurial > pyntnclick
comparison gamelib/gamescreen.py @ 99:367b1c9c3c6d
Restore mouse when returning to main menu
author | Neil Muller <neil@dip.sun.ac.za> |
---|---|
date | Tue, 24 Aug 2010 08:16:56 +0200 |
parents | 60770ca02c1a |
children | b5b6cbf556e6 |
comparison
equal
deleted
inserted
replaced
98:e97244b1be30 | 99:367b1c9c3c6d |
---|---|
165 def hide_cmd(self): | 165 def hide_cmd(self): |
166 # This option does nothing, but the method needs to exist for albow | 166 # This option does nothing, but the method needs to exist for albow |
167 return | 167 return |
168 | 168 |
169 def main_menu_cmd(self): | 169 def main_menu_cmd(self): |
170 mouse.set_visible(1) | |
170 self.shell.show_screen(self.shell.menu_screen) | 171 self.shell.show_screen(self.shell.menu_screen) |
171 | 172 |
172 def quit_cmd(self): | 173 def quit_cmd(self): |
173 self.shell.quit() | 174 self.shell.quit() |
174 | 175 |