Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 24, 2010, 5:03:27 PM (15 years ago)
Author:
rgrieder
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/gamestate/data/gui/scripts/InGameMenu.lua

    r6417 r6459  
    22
    33BasicGUI = require("BasicGUI")
    4 local P = BasicGUI:new() --inherit everything from the gui package
     4local P = BasicGUI:new("InGameMenu")
    55if _REQUIREDNAME == nil then
    66    InGameMenu = P
     
    99end
    1010
    11 P.filename = "InGameMenu"
    12 P.layoutString = "InGameMenu.layout"
    1311
    1412function P:init()
Note: See TracChangeset for help on using the changeset viewer.