Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/gamestates2/data/gui/scripts/QuestGUI.lua @ 6987

Last change on this file since 6987 was 6718, checked in by rgrieder, 15 years ago

Moved BasicGUI.lua to GUISheet.lua and derived MenuSheet.lua as well as HUDSheet.lua from it.
Also, to make a new GUI sheet, use either createHUDSheet or createMenuSheet.
Also removed bShowCursor from the showGUI function. This is now always a value directed by the GUI sheet.

  • Property svn:eol-style set to native
File size: 390 bytes
RevLine 
[6662]1-- QuestGUI.lua
[5746]2
[6718]3local P = createMenuSheet("QuestGUI")
[5746]4
[6662]5function P.show()
6    P.window:show() -- TDO: Do this through parent...
7    P.visible = true
8
[5754]9    local questManager = orxonox.QuestManager:getInstance()
[6417]10
[5756]11    local questsList = winMgr:getWindow("orxonox/QuestGUI/QuestsList")
[5746]12
[6704]13    local window = questManager:getQuestGUI(P.name)
[5746]14
15    questsList:addChildWindow(window)
16
17end
18
19return P
20
Note: See TracBrowser for help on using the repository browser.