/// <summary> /// Intermediate constructor which will display with a given state; /// </summary> /// <param name="newState">What type of gamestate you want this hud to use.</param> public HUD(constants.HUDSTATE newState, bool onLeft) { currentState = newState; _isLeft = onLeft; _ClipSheet = new Rectangle(0, 0, 612, 49); globPos = new Vector2(20, 10); if (!onLeft) { globPos.X = 648; globPos.Y = 10; } }
public HUD() { currentState = constants.HUDSTATE.HEALTH; }