Murl Engine Lua Addon API  Version 1.0 beta
Murl.Logic.IStepable

The IStepable interface.

Objects implementing the IStepable interface can be registered to the IStepableObserver.
The IProcessor object provides a ready to use stepable observer.


Table members

Methods


SetAppStepable(appStepable)

Set the stepable callback object.

Boolean SetAppStepable(Murl.SharedPointer.LogicIAppStepable appStepable)

Parameters
appStepableThe stepable callback object.
Returns
Boolean true if successful.

SetEnabled(isEnabled)

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)

Parameters
isEnabledtrue for enable, false for disable.

IsEnabled()

Check if the object is enabled.

Boolean IsEnabled()

Returns
Boolean true if enabled.

Reset()

Reset the object. Execute the IAppStepable::OnReset() method.

Reset()


ProcessTick(state)

Execute a logic tick. Execute the IAppStepable::OnProcessTick() method if the enabled state is true.

ProcessTick(Murl.Logic.IState state)

Parameters
stateThe IState object.

FinishTick(state)

Finish a logic tick. Execute the IAppStepable::OnFinishTick() method if the enabled state is true.

FinishTick(Murl.Logic.IState state)

Parameters
stateThe IState object.