Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 19, 2009, 11:43:04 AM (15 years ago)
Author:
bknecht
Message:

small change improving the handling of the GUIs in Lua

File:
1 edited

Legend:

Unmodified
Added
Removed
  • data/media/gui/scripts/gui.lua

    r5491 r5523  
    1515    setmetatable(newElement, self) -- connects new element with class
    1616    self.__index = self
     17    P:init()
    1718    return newElement
     19end
     20
     21function P:init()
     22-- this function is empty and intended for inheriting GUIs to use
    1823end
    1924
Note: See TracChangeset for help on using the changeset viewer.