Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

"filename" —> "name" table entry for GUI sheets.

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