- Timestamp:
- Dec 2, 2009, 10:13:13 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2/data/gui/scripts/InGameMenu.lua
r6150 r6217 25 25 orxonox.Game:getInstance():popState() 26 26 orxonox.Game:getInstance():requestState("mainmenu") 27 orxonox.CommandExecutor:execute("hideGUI InGameMenu") 27 hideGUI("InGameMenu") 28 end 29 30 function P.button_settings_clicked(e) 31 showGUI("SettingsMenu", true) 28 32 end 29 33 30 34 function P.button_return_clicked(e) 31 orxonox.CommandExecutor:execute("hideGUIInGameMenu")35 hideGUI("InGameMenu") 32 36 end 33 37 34 38 function P.callback(doExit) 35 39 if doExit then 36 orxonox.CommandExecutor:execute("hideGUIInGameMenu")40 hideGUI("InGameMenu") 37 41 orxonox.CommandExecutor:execute("exit") 38 42 end
Note: See TracChangeset
for help on using the changeset viewer.