public override void Draw(GameTime time)
{
Game1 g = Game1.Instance;
int border = 2;
int maxWidth = 150;
int width = (int)(Player.Instance.Health / (float)Player.Instance.MaxHealth * maxWidth);
Vector2 start = new Vector2(g.Window.ClientBounds.Width - 10 - maxWidth, 10);
g.SpriteBatch.Draw(_dummyTexture, new Rectangle((int)start.X - border, (int)start.Y - border, maxWidth + 2 * border, 25 + 2 * border), Color.DarkRed);
g.SpriteBatch.Draw(_dummyTexture, new Rectangle((int)start.X, (int)start.Y, width, 25), Color.Red);
if (Game1.Instance.Level != null)
{
#region Draw Keys
_normalKey.Draw();
g.SpriteBatch.DrawString(_keyFont, PlayerClasses.Player.Instance.Inventory.GetNormalKeys.ToString(), _normalKey.Position + new Vector2(KeyStringSpacer + _normalKey.Width, 0), Color.White);
_masterKey.Draw();
g.SpriteBatch.DrawString(_keyFont, PlayerClasses.Player.Instance.Inventory.GetMasterKeys.ToString(), _masterKey.Position + new Vector2(KeyStringSpacer + _masterKey.Width, 0), Color.White);
#endregion
}
}