Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/gamestate/data/gui/scripts/QuestGUI.lua @ 6621

Last change on this file since 6621 was 6621, checked in by rgrieder, 14 years ago

Simplified GUI sheet creation (first lines in the lua file) a lot by exporting it to GUITools.lua

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