Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/Dialogue_FS17/src/modules/dialogue/Dialogue.lua @ 11377

Last change on this file since 11377 was 11377, checked in by rrogge, 7 years ago

lua und layout1

File size: 663 bytes
Line 
1local P = createMenuSheet("Dialogue Window")
2
3function P.onLoad()
4        P.createWindow()   
5end
6
7
8
9
10
11function P.createWindow()
12   
13    local question = orxonox.DialogueManager:getInstance():getquestion()
14    local default = (winMgr:createWindow("DefaultWindow"))
15    default:setText(question)
16    default:setProperty("UnifiedMaxSize", "{{1,0},{1,0}}")
17    default:setProperty("UnifiedAreaRect", "{{0,0},{0,0},{1,0},{1,0}}")
18   
19   
20
21
22   
23end
24--[[local numOptions = DialogueManager:getnumOptions()
25    local counter = 1
26    local offset = 0
27    --create and name buttons while there are still options
28    while counter <= numOptions do
29       
30       
31    end]]
Note: See TracBrowser for help on using the repository browser.