Manages Do-Undo control in a sandbox enviroment.
More...
|
| vxCommandManager () |
| Initializes a new instance of the T:VerticesEngine.Commands.vxCommandManager class.
|
|
void | Add (vxCommand command) |
| Add the specified command and clears all commands after the current Command Index.
|
|
void | ReDo () |
| Calls the Redo for the current command.
|
|
void | Undo () |
| Calls the Undo for the current command.
|
|
|
bool | IsActive = true |
|
int | CurrentCmdIndex = -1 |
| The index of the current cmd.
|
|
bool | ShowDebugOutput = false |
| Should the Command List show the current list.
|
|
|
int | Count [get] |
| Gets the number of Commands currently in the list.
|
|
bool | CanRedo [get] |
| Gets a value indicating whether this T:VerticesEngine.Base.vxCommandManager can do.
|
|
bool | CanUndo [get] |
| Gets a value indicating whether this T:VerticesEngine.Base.vxCommandManager can undo.
|
|
|
EventHandler< EventArgs > | OnChange |
|
Manages Do-Undo control in a sandbox enviroment.
◆ vxCommandManager()
VerticesEngine.Commands.vxCommandManager.vxCommandManager |
( |
| ) |
|
Initializes a new instance of the T:VerticesEngine.Commands.vxCommandManager class.
- Parameters
-
◆ Add()
void VerticesEngine.Commands.vxCommandManager.Add |
( |
vxCommand | command | ) |
|
Add the specified command and clears all commands after the current Command Index.
- Returns
- The add.
- Parameters
-
◆ CanRedo
bool VerticesEngine.Commands.vxCommandManager.CanRedo |
|
get |
Gets a value indicating whether this T:VerticesEngine.Base.vxCommandManager can do.
true
if can do; otherwise, false
.
◆ CanUndo
bool VerticesEngine.Commands.vxCommandManager.CanUndo |
|
get |
Gets a value indicating whether this T:VerticesEngine.Base.vxCommandManager can undo.
true
if can undo; otherwise, false
.
◆ Count
int VerticesEngine.Commands.vxCommandManager.Count |
|
get |
Gets the number of Commands currently in the list.
The count.
The documentation for this class was generated from the following file:
- /github/workspace/src/VerticesEngine/src.shared/Gameplay Scenes/Commands/vxCommandManager.cs