private void WriteText(SpriteBatch spriteBatch)
        {
            spriteBatch.DrawString(icelandFont, "Name: " + level.GetName(), new Vector2(screenW - 250, screenH - 95), Color.Black);

            spriteBatch.DrawString(icelandFont, "Level width: " + level.GetWidthInPixels(), new Vector2(screenW - 250, widthButtonPos.Y), Color.Black);
            spriteBatch.DrawString(icelandFont, "Level duration: " + level.GetLevelDuration(), new Vector2(screenW - 250, durationButtonPos.Y), Color.Black);

            spriteBatch.DrawString(icelandFont, "Grid width: " + level.GetPointGridWidth(), new Vector2(screenW - 250, gridWidthPos.Y - 20), Color.Black);
            spriteBatch.DrawString(icelandFont, "Grid height: " + level.GetPointGridHeight(), new Vector2(screenW - 250, gridHeightPos.Y - 20), Color.Black);
            spriteBatch.DrawString(icelandFont, "Duration width: " + level.GetDurationGridWidth(), new Vector2(screenW - 250, durationWidthPos.Y), Color.Black);

            spriteBatch.DrawString(icelandFont, "View: " + (level.GetViewFrame() + 1) + "/" + (level.GetViewFrameMax() + 1), new Vector2(screenW - 250, screenH - 320), Color.Black);
            spriteBatch.DrawString(icelandFont, "Test start at: " + level.GetTestStartTime(), new Vector2(screenW - 250, startTimeButtonPos.Y), Color.Black);

            spriteBatch.DrawString(icelandFont, "Objective: " + level.GetObjectiveDisplayString(), new Vector2(360, levelObjectivePos.Y), Color.Black);

            if (targetedSquare != null)
            {
                targetedSquare.DrawInfo(spriteBatch, icelandFont, new Vector2(600, 600));
            }

            targetedSquare = null;
        }
 protected override void ActionLogic(Game1 game, LevelMechanics level)
 {
     game.stateManager.shooterState.SetupMapCreatorTestRun(level.GetName(), level.GetTestStartTime());
     game.stateManager.shooterState.BeginTestLevel();
 }