Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/gamestate/data/gui/scripts/MultiplayerOptionsMenu.lua @ 6571

Last change on this file since 6571 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: 296 bytes
Line 
1-- MultiplayerOptionsMenu.lua
2
3BasicGUI = require("BasicGUI")
4local P = BasicGUI:new("MultiplayerOptionsMenu")
5if _REQUIREDNAME == nil then
6    MultiplayerOptionsMenu = P
7else
8    _G[_REQUIREDNAME] = P
9end
10
11function P.MultiplayerOptionsBackButton_clicked(e)
12    hideGUI(P.filename)
13end
14
15return P
Note: See TracBrowser for help on using the repository browser.