![]() |
Murl Engine Lua Addon API
Version 1.0 beta
|
The IAppStepable interface.
This interface is used by the IStepable 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.IAppStepable new(Table callbackTable)
callbackTable | A table containing the methods to callback. |
Called by IStepable::SetEnabled(). This method is used to track the enabled state.
OnSetEnabled(Boolean isEnabled)
isEnabled | true if enabled. |
Called by IStepable::Reset().
OnReset()
Called by IStepable::ProcessTick().
OnProcessTick(Murl.Logic.IState state)
state | The IState object. |
Called by IStepable::FinishTick().
OnFinishTick(Murl.Logic.IState state)
state | The IState object. |