C# Class PathfindingTest.UI.HUDObject

Afficher le fichier Open project: Wotuu/RTS_XNA_v2 Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
DefineCostString ( ) : String
DefineDetailString ( ) : String
Draw ( SpriteBatch sb ) : void

Method Details

DefineDetailsRectangle() public méthode

public DefineDetailsRectangle ( ) : Rectangle
Résultat Microsoft.Xna.Framework.Rectangle

DefineRectangle() public méthode

public DefineRectangle ( ) : Rectangle
Résultat Microsoft.Xna.Framework.Rectangle

DrawDetails() public méthode

public DrawDetails ( ) : System.Boolean
Résultat System.Boolean

HUDObject() public méthode

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
Résultat System

Update() public méthode

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