|
Last change
on this file since 6663 was
6662,
checked in by rgrieder, 16 years ago
|
|
Merged revisions 6621-6661 to gamestates2.
|
-
Property svn:eol-style set to
native
|
|
File size:
390 bytes
|
| Line | |
|---|
| 1 | -- QuestGUI.lua |
|---|
| 2 | |
|---|
| 3 | local P = createSheet("QuestGUI") |
|---|
| 4 | |
|---|
| 5 | function 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.filename) |
|---|
| 14 | |
|---|
| 15 | questsList:addChildWindow(window) |
|---|
| 16 | |
|---|
| 17 | end |
|---|
| 18 | |
|---|
| 19 | return P |
|---|
| 20 | |
|---|
Note: See
TracBrowser
for help on using the repository browser.