C# Class Dwarrowdelf.Client.SymbolRenderer

Inheritance: GameComponent
显示文件 Open project: tomba/dwarrowdelf Class Usage Examples

Public Methods

Method Description
Draw ( Camera camera ) : void
SymbolRenderer ( MyGame game, ViewGridProvider viewGridProvider ) : System
Update ( ) : void

Private Methods

Method Description
LoadContent ( ) : void
OnEnvChanged ( EnvironmentObject oldEnv, EnvironmentObject newEnv ) : void
OnObjectAddedOrRemoved ( MovableObject ob ) : void
OnObjectMoved ( MovableObject ob, IntVector3 p ) : void
ToColor ( GameColor color ) : Color
UpdateVertexBuffer ( ) : void

Method Details

Draw() public method

public Draw ( Camera camera ) : void
camera Camera
return void

SymbolRenderer() public method

public SymbolRenderer ( MyGame game, ViewGridProvider viewGridProvider ) : System
game MyGame
viewGridProvider ViewGridProvider
return System

Update() public method

public Update ( ) : void
return void