C# Class bs.Editor.UndoableCommand

Base class for implementation of commands that can be recorded in the UndoRedo system.
Inheritance: ScriptObject
Mostrar archivo Open project: ValtoGameEngines/Banshee-Engine Class Usage Examples

Public Methods

Method Description
UndoableCommand ( ) : System

Protected Methods

Method Description
Commit ( ) : void

Applies the command, committing the change.

Revert ( ) : void

Reverts the command, reverting the change previously done with Commit.

Private Methods

Method Description
Internal_CreateInstance ( UndoableCommand instance ) : void

Method Details

Commit() protected abstract method

Applies the command, committing the change.
protected abstract Commit ( ) : void
return void

Revert() protected abstract method

Reverts the command, reverting the change previously done with Commit.
protected abstract Revert ( ) : void
return void

UndoableCommand() public method

public UndoableCommand ( ) : System
return System