C# Class Bug.GameObjects.HealthBar

Inheritance: GameObject
Afficher le fichier Open project: Projectfights/Fight-insect Class Usage Examples

Méthodes publiques

Méthode Description
Draw ( Microsoft spriteBatch ) : void
GetBoundingBox ( ) : Rectangle
HealthBar ( Fighter fighter, Microsoft.Xna.Framework.Graphics.Texture2D tex_, bool flip_ ) : Microsoft.Xna.Framework
HealthBar ( Fighter fighter, Microsoft.Xna.Framework.Graphics.Texture2D tex_, bool flip_, Vector2 pos ) : Microsoft.Xna.Framework
HealthBar ( Fighter fighter, Microsoft.Xna.Framework.Graphics.Texture2D tex_, bool flip_, Vector2 pos, int baseWidth_ ) : Microsoft.Xna.Framework
Update ( GameTime t ) : void

Method Details

Draw() public méthode

public Draw ( Microsoft spriteBatch ) : void
spriteBatch Microsoft
Résultat void

GetBoundingBox() public méthode

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

HealthBar() public méthode

public HealthBar ( Fighter fighter, Microsoft.Xna.Framework.Graphics.Texture2D tex_, bool flip_ ) : Microsoft.Xna.Framework
fighter Fighter
tex_ Microsoft.Xna.Framework.Graphics.Texture2D
flip_ bool
Résultat Microsoft.Xna.Framework

HealthBar() public méthode

public HealthBar ( Fighter fighter, Microsoft.Xna.Framework.Graphics.Texture2D tex_, bool flip_, Vector2 pos ) : Microsoft.Xna.Framework
fighter Fighter
tex_ Microsoft.Xna.Framework.Graphics.Texture2D
flip_ bool
pos Microsoft.Xna.Framework.Vector2
Résultat Microsoft.Xna.Framework

HealthBar() public méthode

public HealthBar ( Fighter fighter, Microsoft.Xna.Framework.Graphics.Texture2D tex_, bool flip_, Vector2 pos, int baseWidth_ ) : Microsoft.Xna.Framework
fighter Fighter
tex_ Microsoft.Xna.Framework.Graphics.Texture2D
flip_ bool
pos Microsoft.Xna.Framework.Vector2
baseWidth_ int
Résultat Microsoft.Xna.Framework

Update() public méthode

public Update ( GameTime t ) : void
t Microsoft.Xna.Framework.GameTime
Résultat void