C# Class PathfindingTest.Buildings.ResourceGather

Inheritance: PathfindingTest.Buildings.Building
Datei anzeigen Open project: Wotuu/RTS_XNA_v2 Class Usage Examples

Public Methods

Method Description
CalculateRPS ( ) : int
Generate ( ) : void
PlaceBuilding ( Engineer e ) : void
ResourceGather ( Player p, Color c ) : System
Update ( KeyboardState ks, MouseState ms ) : void

Private Methods

Method Description
Draw ( SpriteBatch sb ) : void

Method Details

CalculateRPS() public method

public CalculateRPS ( ) : int
return int

Generate() public method

public Generate ( ) : void
return void

PlaceBuilding() public method

public PlaceBuilding ( Engineer e ) : void
e Engineer
return void

ResourceGather() public method

public ResourceGather ( Player p, Color c ) : System
p Player
c Color
return System

Update() public method

public Update ( KeyboardState ks, MouseState ms ) : void
ks KeyboardState
ms MouseState
return void