/// <summary> /// Initializes a new instance of the <see cref="GameInfoDisplay"/> class. /// </summary> /// <param name="screen">The screen.</param> /// <param name="boxArtMenu">The box art menu.</param> /// <param name="titlePosition">The title position.</param> /// <param name="maxTitleWidth">Width of the max title.</param> /// <param name="descriptionPosition">The description position.</param> /// <param name="authorsPosition">The authors position.</param> /// <param name="borderPosition">The border position.</param> public GameInfoDisplay(Screen screen, BoxArtMenu boxArtMenu, Vector2 titlePosition, float maxTitleWidth, Vector2 descriptionPosition, Vector2 borderPosition) { this.screen = screen; this.titlePosition = titlePosition; this.boxArtMenu = boxArtMenu; this.titleString = new FancyString(); this.descriptionPosition = descriptionPosition; this.descriptionString = new FancyString(); this.titleBorderPosition = borderPosition; this.previousGameInfoSelected = 10000; this.maxTitleWidth = maxTitleWidth; this.menuHasReset = false; this.aAndXButtonDisplay = new FancyString(); this.aAndXButtonDisplay.Create("#A Play #X Instructions", borderPosition + new Vector2(0, 160), borderPosition + new Vector2(0, 160), 0.35f, Color.White, "defaultFont", 0.971f, true); this.background = new HypercubeDisplay( new Rectangle((int)(borderPosition.X - 685f / 2f) - 3, (int)(borderPosition.Y - 370f / 2f) - 3, 685 + 6, 370 + 6), 3, screen.random, 0.96f); }