C# Class PathfindingTest.UI.HUDObject

Mostra file Open project: Wotuu/RTS_XNA_v2 Class Usage Examples

Public Methods

Method Description
DefineDetailsRectangle ( ) : Rectangle
DefineRectangle ( ) : Rectangle
DrawDetails ( ) : System.Boolean
HUDObject ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Type type, float x, float y, Color color ) : System
Update ( KeyboardState ks, Microsoft.Xna.Framework.Input.MouseState ms ) : void

Private Methods

Method Description
DefineCostString ( ) : String
DefineDetailString ( ) : String
Draw ( SpriteBatch sb ) : void

Method Details

DefineDetailsRectangle() public method

public DefineDetailsRectangle ( ) : Rectangle
return Microsoft.Xna.Framework.Rectangle

DefineRectangle() public method

public DefineRectangle ( ) : Rectangle
return Microsoft.Xna.Framework.Rectangle

DrawDetails() public method

public DrawDetails ( ) : System.Boolean
return System.Boolean

HUDObject() public method

public HUDObject ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Type type, float x, float y, Color color ) : System
texture Microsoft.Xna.Framework.Graphics.Texture2D
type System.Type
x float
y float
color Color
return System

Update() public method

public Update ( KeyboardState ks, Microsoft.Xna.Framework.Input.MouseState ms ) : void
ks Microsoft.Xna.Framework.Input.KeyboardState
ms Microsoft.Xna.Framework.Input.MouseState
return void