⁘ actions

Action

go to → Members

Extends

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

read-onlyoperation :object

TODO

Methods

CanMerge(p_operation) → {boolean}

Checks whether the given operation can be merged with the current one. This is especially useful for small-increment actions that can be merged into a single one instead of clogging the undo/redo stack.

Parameters:
Name Type Description
p_operation object

Do(p_operation, p_merge) → {actions.Action}

Performs the action.

Parameters:
Name Type Default Description
p_operation object
p_merge boolean false

True if the operation should be merged, otherwise false.

Redo()

Redo the action based on its current stored operation.

Undo()

Undo the action based on its current stored operation.

protectedoverride-me_InternalDo(p_operation, p_merge)

TODO

Parameters:
Name Type Default Description
p_operation object
p_merge boolean false

protectedoverride-me_InternalRedo()

TODO

protectedoverride-me_InternalUndo()

TODO