Used for displaying the game title, description, authors, etc.
예제 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TitleScreen"/> class.
 /// </summary>
 public TitleScreen()
     : base()
 {
     GameClock.Reset();
     this.boxArtDisplay     = new BoxArtDisplay(this, new Vector2(528, 590), new Vector2(-50, -100));
     this.gameInfoDisplay   = new GameInfoDisplay(this, this.boxArtDisplay.boxArtMenu, new Vector2(1342, 195), 668, new Vector2(1013, 240), new Vector2(1342, 325));
     this.ScoreBoardDisplay = new ScoreboardDisplay(this, new Vector2(180, 10), new Vector2(1342, 755));
     GameInfoCollection.ShiftIndex(-GameInfoCollection.CurrentIndex);
     this.FadingOut = true;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="TitleScreen"/> class.
 /// </summary>
 public TitleScreen()
     : base()
 {
     GameClock.Reset();
     this.boxArtDisplay = new BoxArtDisplay(this, new Vector2(528, 590), new Vector2(-50, -100));
     this.gameInfoDisplay = new GameInfoDisplay(this, this.boxArtDisplay.boxArtMenu, new Vector2(1342, 195), 668, new Vector2(1013, 240), new Vector2(1342, 325));
     this.ScoreBoardDisplay = new ScoreboardDisplay(this, new Vector2(180, 10), new Vector2(1342, 755));
     GameInfoCollection.ShiftIndex(-GameInfoCollection.CurrentIndex);
     this.FadingOut = true;
 }