Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 30, 2010, 4:34:01 PM (14 years ago)
Author:
rgrieder
Message:

Use "P." instead of "P:" when using our sheets as objects, not classes.
And use "P." instead of "self.".
This does not count for BasicGUI.lua because this is in fact seen as a class!!!

File:
1 edited

Legend:

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

    r6621 r6659  
    33local P = createSheet("QuestGUI")
    44
    5 function P:show()
    6     self.window:show() -- TDO: Do this through parent...
    7     self.visible = true
     5function P.show()
     6    P.window:show() -- TDO: Do this through parent...
     7    P.visible = true
    88
    99    local questManager = orxonox.QuestManager:getInstance()
Note: See TracChangeset for help on using the changeset viewer.