Last change
on this file since 6858 was
6631,
checked in by sfluecki, 15 years ago
|
damit semi alles hat
|
-
Property svn:eol-style set to
native
|
File size:
557 bytes
|
Rev | Line | |
---|
[6600] | 1 | -- InGamePickupHUD.lua |
---|
| 2 | |
---|
| 3 | BasicGUI = require("BasicGUI") |
---|
| 4 | local P = BasicGUI:new() --inherit everything from the gui package |
---|
| 5 | if _REQUIREDNAME == nil then |
---|
| 6 | InGamePickupHUD = P |
---|
| 7 | else |
---|
| 8 | _G[_REQUIREDNAME] = P |
---|
| 9 | end |
---|
| 10 | |
---|
| 11 | P.filename = "InGamePickupHUD" |
---|
| 12 | P.layoutString = "InGamePickupHUD.layout" |
---|
| 13 | |
---|
| 14 | function P:init() |
---|
[6631] | 15 | -- wie kann man hier dynamisch neue ListBoxItems erstellen? |
---|
| 16 | -- wie können sich diese ListBoxItems selbst aktualisieren? <<Tickable?>> |
---|
[6600] | 17 | end |
---|
| 18 | |
---|
| 19 | |
---|
| 20 | -- events for ingamemenu |
---|
| 21 | |
---|
| 22 | |
---|
| 23 | |
---|
[6614] | 24 | function P.close_button_clicked() |
---|
| 25 | hideGUI("InGamePickupHUD") |
---|
| 26 | end |
---|
| 27 | |
---|
[6600] | 28 | return P |
---|
| 29 | |
---|
Note: See
TracBrowser
for help on using the repository browser.