C# Class fCraft.Drawing.UndoDrawOperation

Inheritance: DrawOpWithBrush
Show file Open project: GlennMR/800craft Class Usage Examples

Public Methods

Method Description
Begin ( ) : bool
DrawBatch ( int maxBlocksToDraw ) : int
Prepare ( Vector3I marks ) : bool
ReadParams ( Command cmd ) : bool
UndoDrawOperation ( Player player, UndoState state, bool redo ) : System

Protected Methods

Method Description
NextBlock ( ) : Block

Method Details

Begin() public method

public Begin ( ) : bool
return bool

DrawBatch() public method

public DrawBatch ( int maxBlocksToDraw ) : int
maxBlocksToDraw int
return int

NextBlock() protected method

protected NextBlock ( ) : Block
return Block

Prepare() public method

public Prepare ( Vector3I marks ) : bool
marks Vector3I
return bool

ReadParams() public method

public ReadParams ( Command cmd ) : bool
cmd Command
return bool

UndoDrawOperation() public method

public UndoDrawOperation ( Player player, UndoState state, bool redo ) : System
player Player
state UndoState
redo bool
return System