C# Class fCraft.Drawing.BlockDBDrawOperation

Draw operation that applies changes from a given BlockDBEntry array.
Inheritance: DrawOpWithBrush
Afficher le fichier Open project: GlennMR/800craft Class Usage Examples

Méthodes publiques

Méthode Description
BlockDBDrawOperation ( Player player, string commandName, string paramDescription, int expectedMarks ) : System
DrawBatch ( int maxBlocksToDraw ) : int
Prepare ( Vector3I marks ) : bool
Prepare ( Vector3I marks, BlockDBEntry changesToApply ) : bool
ReadParams ( Command cmd ) : bool

Méthodes protégées

Méthode Description
NextBlock ( ) : Block

Private Methods

Méthode Description
FindBounds ( ) : BoundingBox

Method Details

BlockDBDrawOperation() public méthode

public BlockDBDrawOperation ( Player player, string commandName, string paramDescription, int expectedMarks ) : System
player Player
commandName string
paramDescription string
expectedMarks int
Résultat System

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

Prepare() public méthode

public Prepare ( Vector3I marks, BlockDBEntry changesToApply ) : bool
marks Vector3I
changesToApply BlockDBEntry
Résultat bool

ReadParams() public méthode

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