ReversableAction
ReversableAction
Describes an action that is reversable for code-reuse. Ex. A Place action and Delete action would be identical except their execute's and undo's would be opposite of eacother. This reconciles that reuse of code and allows for a single class.
Constructor
protected ReversableAction
new ReversableAction(flip)
*Description needed*Parameters
-
flip: false | true
– Description needed
Properties
No publicly accessible properties on ReversableAction
private flipped: false | true
Description needed
Methods
protected normalExecute
public getName
getName() => string
Description needed
Returns
-
string
– Description needed
Static Methods
No static methods for ReversableAction