Changeset 6720 for code/branches/gamestates2/data/gui/scripts/GUISheet.lua
- Timestamp:
- Apr 13, 2010, 3:58:56 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/gamestates2/data/gui/scripts/GUISheet.lua
r6718 r6720 13 13 14 14 -- Override this function if you need to do work on load 15 -- TODO: rename to onLoad 16 function P:init() 15 function P:onLoad() 17 16 end 18 17 … … 38 37 self:hide() 39 38 -- Allow sheets to do some work upon loading 40 self: init()39 self:onLoad() 41 40 return self 42 41 end
Note: See TracChangeset
for help on using the changeset viewer.