Exemple #1
0
 public HighscoreScreen()
 {
     backgroundImage = new Image();
     header = new Text();
     highscores = new Text[5];
     backButton = new TextButton();
     cursor = new Cursor();
 }
Exemple #2
0
 public MainMenu()
 {
     cursor = new Cursor();
     backgroundImage = new Image();
     singleplayerButton = new TextButton();
     splitscreenButton = new TextButton();
     networkButton = new TextButton();
     highscoreButton = new TextButton();
     settingsButton = new TextButton();
     exitButton = new TextButton();
     titleImage = new Image();
 }
Exemple #3
0
 public ResultsScreen(GameResult results, bool isNetwork)
 {
     this.results = results;
     this.isNetwork = isNetwork;
     backGroundImage = new Image();
     gameoverText = new Text();
     infoText = new Text();
     results = new GameResult();
     time = new Text();
     p1Score = new Text();
     p2Score = new Text();
     cursor = new Cursor();
 }