![]() |
Murl Engine Lua Addon API
Version 1.0 beta
|
The IStepableObserver interface.
The stepable observer notifies objects implementing the IStepable interface.
The IProcessor object provides a ready to use stepable observer.
Add a stepable object to the observer. Adding a stepable twice is not allowed.
Boolean Add(Murl.SharedPointer.LogicIStepable stepable)
stepable | The stepable object to add. |
Remove a stepable object from the observer.
Boolean Remove(Murl.SharedPointer.LogicIStepable stepable)
stepable | The stepable object to remove. |
Remove a stepable object by index from the observer. A valid index is [0 .. GetNumberOfStepables() - 1].
Boolean RemoveAt(Integer index)
index | The zero-based index of the stepable object to remove. |
Remove all stepable objects from the observer.
RemoveAll()
Get the number of stepable objects in the observer.
Integer GetNumberOfStepables()
Get a stepable object by index. A valid index is [0 .. GetNumberOfStepables() - 1].
Murl.SharedPointer.LogicIStepable GetStepable(Integer index)
index | The zero-based index of the stepable object. |
Notify IStepable::SetEnabled() to all observed objects.
SetEnabled(Boolean isEnabled)
isEnabled | true for enable, false for disable. |
Notify IStepable::Reset() to all observed objects.
Reset()
Notify IStepable::ProcessTick() to all observed objects.
ProcessTick(Murl.Logic.IState state)
state | The IState object. |
Notify IStepable::FinishTick() to all observed objects.
FinishTick(Murl.Logic.IState state)
state | The IState object. |