![]() |
Murl Engine Lua Addon API
Version 1.0 beta
|
The IAppStage interface.
This interface is used by the IStage object to callback the app.
Create a callback object with a given callback table.
Example of a callback table:
Is is allowed to omit unused callback functions and to add user specific fields to the table.
Murl.Logic.IAppStage new(Table callbackTable)
callbackTable | A table containing the methods to callback. |
Called by IStage::InitStage().
Boolean OnInitStage(Murl.Logic.IState state, Murl.Logic.IStageProcessor stageProcessor)
state | The IState object. |
stageProcessor | The corresponding IStageProcessor object. |
Called by IStage::DeInitStage().
Boolean OnDeInitStage(Murl.Logic.IState state, Murl.Logic.IStageProcessor stageProcessor)
state | The IState object. |
stageProcessor | The corresponding IStageProcessor object. |
Called by IStage::ProcessStageTickSelf() for IStage::RUN_STATE_BEGIN_INTRO.
OnProcessStageTickBeginIntro(Murl.Logic.IState state, Murl.Logic.IStageProcessor stageProcessor)
state | The IState object. |
stageProcessor | The corresponding IStageProcessor object. |
Called by IStage::ProcessStageTickSelf() for IStage::RUN_STATE_RUN_INTRO.
OnProcessStageTickRunIntro(Murl.Logic.IState state, Murl.Logic.IStageProcessor stageProcessor)
state | The IState object. |
stageProcessor | The corresponding IStageProcessor object. |
Called by IStage::ProcessStageTickSelf() for IStage::RUN_STATE_BEGIN_RUN.
OnProcessStageTickBeginRun(Murl.Logic.IState state, Murl.Logic.IStageProcessor stageProcessor)
state | The IState object. |
stageProcessor | The corresponding IStageProcessor object. |
Called by IStage::ProcessStageTickSelf() for IStage::RUN_STATE_RUN.
OnProcessStageTickRun(Murl.Logic.IState state, Murl.Logic.IStageProcessor stageProcessor)
state | The IState object. |
stageProcessor | The corresponding IStageProcessor object. |
Called by IStage::ProcessStageTickSelf() for IStage::RUN_STATE_BEGIN_OUTRO.
OnProcessStageTickBeginOutro(Murl.Logic.IState state, Murl.Logic.IStageProcessor stageProcessor)
state | The IState object. |
stageProcessor | The corresponding IStageProcessor object. |
Called by IStage::ProcessStageTickSelf() for IStage::RUN_STATE_RUN_OUTRO.
OnProcessStageTickRunOutro(Murl.Logic.IState state, Murl.Logic.IStageProcessor stageProcessor)
state | The IState object. |
stageProcessor | The corresponding IStageProcessor object. |
Called by IStage::ProcessStageTickSelf() at finish of IStage::RUN_STATE_RUN_OUTRO.
OnProcessStageTickStop(Murl.Logic.IState state, Murl.Logic.IStageProcessor stageProcessor)
state | The IState object. |
stageProcessor | The corresponding IStageProcessor object. |
Called by IStage::ProcessStageTickSelf().
OnProcessStageTick(Murl.Logic.IState state, Murl.Logic.IStageProcessor stageProcessor)
state | The IState object. |
stageProcessor | The corresponding IStageProcessor object. |
Called by IStage::ProcessStageFrameSelf().
OnProcessStageFrame(Murl.Logic.IState state, Murl.Logic.IStageProcessor stageProcessor)
state | The IState object. |
stageProcessor | The corresponding IStageProcessor object. |
Called by IStage::FinishStageTickSelf().
OnFinishStageTick(Murl.Logic.IState state, Murl.Logic.IStageProcessor stageProcessor)
state | The IState object. |
stageProcessor | The corresponding IStageProcessor object. |
Called by IStage::FinishStageFrameSelf().
OnFinishStageFrame(Murl.Logic.IState state, Murl.Logic.IStageProcessor stageProcessor)
state | The IState object. |
stageProcessor | The corresponding IStageProcessor object. |