Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/gamestate/data/gui/scripts/CreditsMenu.lua @ 6922

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
3local sheetName = _REQUIREDNAME or "CreditsMenu"
4-- Create object of type BasicGUI and make it global
5local P = require("BasicGUI"):new(sheetName)
6_G[sheetName] = P
7
8function P.CreditsBackButton_clicked(e)
9    hideGUI(P.filename)
10end
11
12return P
13
Note: See TracBrowser for help on using the repository browser.