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;
 }
        //Creates square grid linked to given SquareData-CHAIN
        protected void CreateSquareGrid(SquareData[,] data, List <DurationSquareDataChain> newDurationData)
        {
            int localWidth  = data.GetLength(0);
            int localHeight = data.GetLength(1);

            grid = new DurationSquare[localWidth, localHeight];

            for (int n = 0; n < localWidth; n++)
            {
                for (int m = 0; m < localHeight; m++)
                {
                    DurationSquareData existingData = CheckChainForPresentData(newDurationData, new Coordinate(n, m));
                    if (existingData != null)
                    {
                        data[n, m] = existingData;
                    }

                    Square s = new DurationSquare(data[n, m], GetSquarePos(n, m), spriteSheet, new Coordinate(n, m));
                    s.Initialize();
                    grid[n, m] = s;
                }
            }
        }
 public override void Update(GameTime gameTime)
 {
     base.Update(gameTime);
     overlaySprite = DurationSquare.GetEventSprite(ActiveData.durationEventState);
 }