C# Class RandomMaze.RandomMazeDrawOperation

Inheritance: fCraft.Drawing.DrawOpWithBrush
Afficher le fichier Open project: GlennMR/800craft Class Usage Examples

Méthodes publiques

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

Méthodes protégées

Méthode Description
NextBlock ( ) : Block

Private Methods

Méthode 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 méthode

public DrawBatch ( int maxBlocksToDraw ) : int
maxBlocksToDraw int
Résultat int

NextBlock() protected méthode

protected NextBlock ( ) : Block
Résultat Block

Prepare() public méthode

public Prepare ( Vector3I marks ) : bool
marks Vector3I
Résultat bool

RandomMazeDrawOperation() public méthode

public RandomMazeDrawOperation ( Player player, Command cmd ) : System
player fCraft.Player
cmd fCraft.Command
Résultat System

ReadParams() public méthode

public ReadParams ( Command cmd ) : bool
cmd fCraft.Command
Résultat bool