public GameOverScreen() { menuItems = new List<LinkedMenuItem>(); // Create our buttons StartGameButton restartButton = new StartGameButton(this); QuitToMenuButton menuButton = new QuitToMenuButton(this); // Link them up restartButton.Down = menuButton; menuButton.Up = restartButton; // Add items to the menu list menuItems.Add(restartButton); menuItems.Add(menuButton); // Select the default item this.SelectItem(restartButton); }
public GameOverScreen() { menuItems = new List <LinkedMenuItem>(); // Create our buttons StartGameButton restartButton = new StartGameButton(this); QuitToMenuButton menuButton = new QuitToMenuButton(this); // Link them up restartButton.Down = menuButton; menuButton.Up = restartButton; // Add items to the menu list menuItems.Add(restartButton); menuItems.Add(menuButton); // Select the default item this.SelectItem(restartButton); }