Changeset 6666 for code/branches/gamestates2/data/gui/scripts/GUITools.lua
- Timestamp:
- Mar 31, 2010, 2:37:45 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/gamestates2/data/gui/scripts/GUITools.lua
r6662 r6666 1 1 function createSheet(sheetName) 2 2 -- Create object of type BasicGUI and make it global 3 local sheet = require("BasicGUI"):new(sheetName) 3 local basicGUI = require("BasicGUI") 4 if basicGUI == nil then 5 error("Loading BasicGUI.lua failed") 6 end 7 local sheet = basicGUI:new(sheetName) 4 8 _G[sheetName] = sheet 5 9 return sheet
Note: See TracChangeset
for help on using the changeset viewer.