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

The StaticFactory class to create logic classes.


Table members

Functions


Murl.Logic.StaticFactory.CreateStepable()

Create a stepable object.

Murl.SharedPointer.LogicIStepable CreateStepable()

Returns
Murl.SharedPointer.LogicIStepable The created stepable object, or null if failed.

Murl.Logic.StaticFactory.DestroyStepable(stepable)

Destroy a stepable object.

Boolean, Murl.SharedPointer.LogicIStepable DestroyStepable(Murl.SharedPointer.LogicIStepable stepable)

Parameters
stepableA reference to the stepable pointer. After destruction the pointer is set to null.
Returns
Boolean true if successful.
Murl.SharedPointer.LogicIStepable stepable A reference to the stepable pointer. After destruction the pointer is set to null.

Murl.Logic.StaticFactory.CreateStepableObserver()

Create a stepable observer object.

Murl.SharedPointer.LogicIStepableObserver CreateStepableObserver()

Returns
Murl.SharedPointer.LogicIStepableObserver The created stepable observer object, or null if failed.

Murl.Logic.StaticFactory.DestroyStepableObserver(stepableObserver)

Destroy a stepable observer object.

Boolean, Murl.SharedPointer.LogicIStepableObserver DestroyStepableObserver(Murl.SharedPointer.LogicIStepableObserver stepableObserver)

Parameters
stepableObserverA reference to the stepable observer pointer. After destruction the pointer is set to null.
Returns
Boolean true if successful.
Murl.SharedPointer.LogicIStepableObserver stepableObserver A reference to the stepable observer pointer. After destruction the pointer is set to null.

Murl.Logic.StaticFactory.CreateTimeframe()

Create a timeframe object.

Murl.SharedPointer.LogicITimeframe CreateTimeframe()

Returns
Murl.SharedPointer.LogicITimeframe The created timeframe object, or null if failed.

Murl.Logic.StaticFactory.DestroyTimeframe(timeframe)

Destroy a timeframe object.

Boolean, Murl.SharedPointer.LogicITimeframe DestroyTimeframe(Murl.SharedPointer.LogicITimeframe timeframe)

Parameters
timeframeA reference to the timeframe pointer. After destruction the pointer is set to null.
Returns
Boolean true if successful.
Murl.SharedPointer.LogicITimeframe timeframe A reference to the timeframe pointer. After destruction the pointer is set to null.

Murl.Logic.StaticFactory.CreateTimeline()

Create a timeline object.

Murl.SharedPointer.LogicITimeline CreateTimeline()

Returns
Murl.SharedPointer.LogicITimeline The created timeline object, or null if failed.

Murl.Logic.StaticFactory.DestroyTimeline(timeline)

Destroy a timeline object.

Boolean, Murl.SharedPointer.LogicITimeline DestroyTimeline(Murl.SharedPointer.LogicITimeline timeline)

Parameters
timelineA reference to the timeline pointer. After destruction the pointer is set to null.
Returns
Boolean true if successful.
Murl.SharedPointer.LogicITimeline timeline A reference to the timeline pointer. After destruction the pointer is set to null.

Murl.Logic.StaticFactory.CreateNodeObserver()

Create a node observer object.

Murl.SharedPointer.LogicINodeObserver CreateNodeObserver()

Returns
Murl.SharedPointer.LogicINodeObserver The created node observer object, or null if failed.

Murl.Logic.StaticFactory.DestroyNodeObserver(nodeObserver)

Destroy a node observer object.

Boolean, Murl.SharedPointer.LogicINodeObserver DestroyNodeObserver(Murl.SharedPointer.LogicINodeObserver nodeObserver)

Parameters
nodeObserverA reference to the node observer pointer. After destruction the pointer is set to null.
Returns
Boolean true if successful.
Murl.SharedPointer.LogicINodeObserver nodeObserver A reference to the node observer pointer. After destruction the pointer is set to null.