Action

An undo/redo-able action

Members

Functions

canMerge
bool canMerge(Action other)

Gets whether this action can merge with an other

describe
string describe()

Describes the action

describeUndo
string describeUndo()

Describes the action

getName
string getName()

Gets the name of the action

merge
bool merge(Action other)

Merge action with other action (if possible)

redo
void redo()

Redo the action that was done

rollback
void rollback()

Roll back the action that was done

Meta