⁘ common.helpers

StateMachine

go to → Members

new StateMachine()

TODO

Extends

Broadcasting

This section list the main methods used to watch/unwatch signals on this object. For more info on signals, see signals

Methods

Unwatch(p_signal, p_fn, p_listener) → {common.pool.DisposableObjectEx}

Inherited From:

Watch(p_signal, p_fn, p_listener) → {common.pool.DisposableObjectEx}

Inherited From:

WatchOnce(p_signalId, p_fn, p_listener) → {common.pool.DisposableObjectEx}

Inherited From:

protected_Broadcast(p_signal, …args)

Inherited From:
Initialization

Methods

protectedoverride-me_Init()

Inherited From:

protectedoverride-me_PostInit()

Inherited From:
Utils

Methods

protected_Bind(p_func)

Inherited From:
Pooling

Group of methods related to the NKMjs pooling system.

Members

read-onlyisReleasing :boolean

Inherited From:

Methods

Release()

Inherited From:

protectedoverride-me_CleanUp()

Inherited From:
Misc

Members

currentState :StateBase

Current state

currentState :StateBase

Current state

owner :DisposableObjectEx

State machine owner

Methods

Is(p_state) → {boolean}

TODO

Parameters:
Name Type Description
p_state *

IsAny(…args) → {boolean}

TODO

Parameters:
Name Type Attributes Description
args any <repeatable>

a list of states

IsNot(p_state) → {boolean}

TODO

Parameters:
Name Type Description
p_state *

IsNotAny(…args) → {boolean}

TODO

Parameters:
Name Type Attributes Description
args any <repeatable>

a list of states

PreventRelease()

Inherited From:

protected_OnCurrentStateChanged()

TODO