public OptionDurationEventSquare(Sprite spriteSheet, Vector2 position, DurationEventType state) : base(spriteSheet, position) { displaySprite = spriteSheet.GetSubSprite(new Rectangle(50, 0, 12, 12)); optionState = state; overlaySprite = DurationSquare.GetEventSprite(state); readyToSetDisplay = false; }
public override void Update(GameTime gameTime) { base.Update(gameTime); overlaySprite = DurationSquare.GetEventSprite(ActiveData.durationEventState); }