new Operation()
Base class for a command in command pattern.
Extends
- Int
Classes
Methods
-
execute()
-
Execute this command.
-
isReversible() → {Bool}
-
Indicate whether this command can be undone. Default is true. Descendants should override this method if unreversible.
Returns:
- Type
- Bool
-
reverse()
-
Undo command execution.