C# Class AIA.BuildingManager

Show file Open project: ArtificialIntelligenceApproximations/AIA Class Usage Examples

Public Methods

Method Description
BuildingManager ( ) : System
DrawBuildings ( SpriteBatch p_SpriteBatch ) : void
KeyboardListener ( KeyboardState CurrentKeyboardState, KeyboardState LastKeyboardState, Microsoft.Xna.Framework.Input.MouseState CurrentMouseState, Microsoft.Xna.Framework.Input.MouseState LastMouseState ) : void
Update ( GameTime gameTime ) : void
UpdateSelectionList ( Rectangle SelectionBox ) : void

Method Details

BuildingManager() public method

public BuildingManager ( ) : System
return System

DrawBuildings() public method

public DrawBuildings ( SpriteBatch p_SpriteBatch ) : void
p_SpriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
return void

KeyboardListener() public method

public KeyboardListener ( KeyboardState CurrentKeyboardState, KeyboardState LastKeyboardState, Microsoft.Xna.Framework.Input.MouseState CurrentMouseState, Microsoft.Xna.Framework.Input.MouseState LastMouseState ) : void
CurrentKeyboardState Microsoft.Xna.Framework.Input.KeyboardState
LastKeyboardState Microsoft.Xna.Framework.Input.KeyboardState
CurrentMouseState Microsoft.Xna.Framework.Input.MouseState
LastMouseState Microsoft.Xna.Framework.Input.MouseState
return void

Update() public method

public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void

UpdateSelectionList() public method

public UpdateSelectionList ( Rectangle SelectionBox ) : void
SelectionBox Microsoft.Xna.Framework.Rectangle
return void