C# Class fCraft.Drawing.CuboidHollowDrawOperation

Draw operation that creates a hollow cuboid, optionally filling the center.
Inheritance: DrawOperation
Show file Open project: GlennMR/800craft

Public Methods

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

Private Methods

Method Description
BlockEnumerator ( ) : IEnumerable

Method Details

CuboidHollowDrawOperation() public method

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

DrawBatch() public method

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

Prepare() public method

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