- Timestamp:
- Mar 31, 2010, 1:05:28 AM (15 years ago)
- Location:
- code/branches/gamestates2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/gamestates2
- Property svn:mergeinfo changed
/code/branches/gamestate merged: 6621-6630,6655-6661
- Property svn:mergeinfo changed
-
code/branches/gamestates2/data/gui/scripts/GameplayMenu.lua
r6595 r6662 1 1 -- GameplayMenu.lua 2 2 3 BasicGUI = require("BasicGUI") 4 local P = BasicGUI:new("GameplayMenu") 5 if _REQUIREDNAME == nil then 6 GameplayMenu = P 7 else 8 _G[_REQUIREDNAME] = P 9 end 3 local P = createSheet("GameplayMenu") 10 4 11 function P :init()5 function P.init() 12 6 dropdown = winMgr:getWindow("orxonox/ThemeCombobox") 13 7 local themeList = {} … … 24 18 function P.GameplayThemeCombobox_changed(e) 25 19 -- theme 26 debug("event: theme")20 logMessage(0, "event: theme") 27 21 end 28 22 29 23 function P.GameplayDifficultyEasyButton_clicked(e) 30 24 -- difficulty easy 31 debug("event: easy")25 logMessage(0, "event: easy") 32 26 end 33 27 34 28 function P.GameplayDifficultyNormalButton_clicked(e) 35 29 -- difficulty normal 36 debug("event: normal")30 logMessage(0, "event: normal") 37 31 end 38 32 39 33 function P.GameplayDifficultyHardButton_clicked(e) 40 34 -- difficulty hard 41 debug("event: hard")35 logMessage(0, "event: hard") 42 36 end 43 37
Note: See TracChangeset
for help on using the changeset viewer.