- Timestamp:
- Apr 13, 2010, 6:17:51 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/gamestates2/data/gui/scripts/InGameMenu.lua
r6718 r6722 12 12 orxonox.Game:getInstance():popState() 13 13 orxonox.Game:getInstance():requestState("mainmenu") 14 hide GUI("InGameMenu")14 hideMenuSheet("InGameMenu") 15 15 end 16 16 17 17 function P.button_settings_clicked(e) 18 show GUI("SettingsMenu", true)18 showMenuSheet("SettingsMenu", true) 19 19 end 20 20 21 21 function P.button_return_clicked(e) 22 hide GUI("InGameMenu")22 hideMenuSheet("InGameMenu") 23 23 end 24 24 25 25 function P.callback(doExit) 26 26 if doExit then 27 hide GUI("InGameMenu")27 hideMenuSheet("InGameMenu") 28 28 orxonox.execute("exit") 29 29 end
Note: See TracChangeset
for help on using the changeset viewer.