![]() |
Murl Engine Lua Addon API
Version 1.0 beta
|
The IStepable interface.
Objects implementing the IStepable interface can be registered to the IStepableObserver.
The IProcessor object provides a ready to use stepable observer.
Set the stepable callback object.
Boolean SetAppStepable(Murl.SharedPointer.LogicIAppStepable appStepable)
appStepable | The stepable callback object. |
Set the Enable/Disable state of the object. Execute the IAppStepable::OnSetEnabled() callback method before setting the internal enabled state.
The default enabled state is true.
SetEnabled(Boolean isEnabled)
isEnabled | true for enable, false for disable. |
Check if the object is enabled.
Boolean IsEnabled()
Reset the object. Execute the IAppStepable::OnReset() method.
Reset()
Execute a logic tick. Execute the IAppStepable::OnProcessTick() method if the enabled state is true.
ProcessTick(Murl.Logic.IState state)
state | The IState object. |
Finish a logic tick. Execute the IAppStepable::OnFinishTick() method if the enabled state is true.
FinishTick(Murl.Logic.IState state)
state | The IState object. |