Last change
on this file since 6922 was
6621,
checked in by rgrieder, 15 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:
265 bytes
|
Line | |
---|
1 | -- CreditsMenu.lua |
---|
2 | |
---|
3 | local sheetName = _REQUIREDNAME or "CreditsMenu" |
---|
4 | -- Create object of type BasicGUI and make it global |
---|
5 | local P = require("BasicGUI"):new(sheetName) |
---|
6 | _G[sheetName] = P |
---|
7 | |
---|
8 | function P.CreditsBackButton_clicked(e) |
---|
9 | hideGUI(P.filename) |
---|
10 | end |
---|
11 | |
---|
12 | return P |
---|
13 | |
---|
Note: See
TracBrowser
for help on using the repository browser.