C# Class MonoTileSheetDisplay.HealthBar

Mostra file Open project: itsligoGames/MonoGameTileSheetExample Class Usage Examples

Public Properties

Property Type Description
health int
position Vector2

Public Methods

Method Description
HealthBar ( GraphicsDevice dev, Vector2 pos ) : System
draw ( SpriteBatch spriteBatch ) : void

Method Details

HealthBar() public method

public HealthBar ( GraphicsDevice dev, Vector2 pos ) : System
dev GraphicsDevice
pos Vector2
return System

draw() public method

public draw ( SpriteBatch spriteBatch ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
return void

Property Details

health public_oe property

public int health
return int

position public_oe property

public Vector2 position
return Vector2