Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 6544 was 6459, checked in by rgrieder, 15 years ago

Simplified BasicGUI construction. Just give the name of the GUI as argument. The rest will be deduced.

  • Property svn:eol-style set to native
File size: 253 bytes
Line 
1-- CreditsMenu.lua
2
3BasicGUI = require("BasicGUI")
4local P = BasicGUI:new("CreditsMenu")
5if _REQUIREDNAME == nil then
6    CreditsMenu = P
7else
8    _G[_REQUIREDNAME] = P
9end
10
11function P.CreditsBackButton_clicked(e)
12    hideGUI(P.filename)
13end
14
15return P
16
Note: See TracBrowser for help on using the repository browser.