Changeset 6621 for code/branches/gamestate/data/gui/scripts/BasicGUI.lua
- Timestamp:
- Mar 26, 2010, 8:51:37 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/gamestate/data/gui/scripts/BasicGUI.lua
r6537 r6621 1 -- gui.lua1 -- BasicGUI.lua 2 2 3 3 local P = {} 4 if _REQUIREDNAME == nil then 5 BasicGUI = P 6 else 7 _G[_REQUIREDNAME] = P 8 end 4 _G[_REQUIREDNAME or "BasicGUI"] = P 9 5 10 6 -- useless, even wrong? P is the class, not the object.. … … 27 23 end 28 24 29 -- Override this function if you need to 25 -- Override this function if you want to change one of the three input parameters: 26 -- showCursor = true, useKeyboard = true and blockJoyStick = false 30 27 -- But don't forget to stick to the naming convention ("GUI_" .. self.filename) 31 28 function P:createInputState()
Note: See TracChangeset
for help on using the changeset viewer.