C# Class TerrainPainter.tp_History

Mostrar archivo Open project: Stumpstump/RoverGame Class Usage Examples

Public Methods

Method Description
CanUndo ( ) : bool

Check if can do an undo

CreateRestorePoint ( UndoType type, string saveMsg = default(string) ) : void

Create undo point

Redo ( ) : void

Perform redo

Undo ( ) : void

Perform undo

Method Details

CanUndo() public method

Check if can do an undo
public CanUndo ( ) : bool
return bool

CreateRestorePoint() public method

Create undo point
public CreateRestorePoint ( UndoType type, string saveMsg = default(string) ) : void
type UndoType
saveMsg string
return void

Redo() public method

Perform redo
public Redo ( ) : void
return void

Undo() public method

Perform undo
public Undo ( ) : void
return void