C# Class fCraft.Drawing.Fill3DDrawOperation

Draw operation that performs a 2D flood fill. Uses player's position to determine plane of filling.
Inheritance: DrawOperation
Show file Open project: fragmer/fCraft Class Usage Examples

Public Methods

Method Description
Begin ( ) : bool
DrawBatch ( int maxBlocksToDraw ) : int
Fill3DDrawOperation ( Player player ) : System
Prepare ( Vector3I marks ) : bool

Private Methods

Method Description
BlockEnumerator ( ) : IEnumerable
CanPlace ( Vector3I coords ) : bool

Method Details

Begin() public method

public Begin ( ) : bool
return bool

DrawBatch() public method

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

Fill3DDrawOperation() public method

public Fill3DDrawOperation ( Player player ) : System
player Player
return System

Prepare() public method

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