C# Class RandomMaze.RandomMazeDrawOperation

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

Public Methods

Method Description
DrawBatch ( int maxBlocksToDraw ) : int
Prepare ( Vector3I marks ) : bool
RandomMazeDrawOperation ( Player player, Command cmd ) : System
ReadParams ( Command cmd ) : bool

Protected Methods

Method Description
NextBlock ( ) : Block

Private Methods

Method Description
ChoosePattern ( ) : void
CommandOrDefault ( Command cmd, int defVal ) : int
DrawCell ( int xCell, int yCell, int zCell ) : void
DrawColumn ( int xCell, int yCell, int zCell, Direction d ) : void
DrawElevator ( int xCell, int yCell, int zCell ) : void
DrawPartOfPartialWall ( int &coord, int coordFrom, int &patternCoord ) : void
DrawWall ( int xCell, int yCell, int zCell, Direction d ) : void
ReadFlags ( Command cmd ) : void
StickCallback ( int &coord, int coordFrom ) : void
WallCallback ( int &coord1, int &coord2, int coord1From, int coord2From ) : void

Method Details

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

RandomMazeDrawOperation() public method

public RandomMazeDrawOperation ( Player player, Command cmd ) : System
player fCraft.Player
cmd fCraft.Command
return System

ReadParams() public method

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