C# Class fCraft.Drawing.DrawOpWithBrush

A self-contained DrawOperation that provides its own brush. Purpose of this class is mostly to take care of the boilerplate code.
Inheritance: DrawOperation, IBrushFactory, IBrush
Exibir arquivo Open project: GlennMR/800craft Class Usage Examples

Private Properties

Property Type Description
IBrush IBrushInstance
IBrushFactory IBrush
IBrushInstance Block
IBrushInstance bool

Public Methods

Method Description
ReadParams ( Command cmd ) : bool

Protected Methods

Method Description
DrawOpWithBrush ( Player player ) : System
IBrushInstance ( ) : void
NextBlock ( ) : Block

Private Methods

Method Description
IBrush ( Player player, Command cmd, DrawOperation op ) : IBrushInstance
IBrushFactory ( Player player, Command cmd ) : IBrush
IBrushInstance ( DrawOperation op ) : Block
IBrushInstance ( Player player, DrawOperation op ) : bool

Method Details

DrawOpWithBrush() protected method

protected DrawOpWithBrush ( Player player ) : System
player Player
return System

IBrushInstance() protected method

protected IBrushInstance ( ) : void
return void

NextBlock() protected abstract method

protected abstract NextBlock ( ) : Block
return Block

ReadParams() public abstract method

public abstract ReadParams ( Command cmd ) : bool
cmd Command
return bool