public GameRestartScreen(Game game, MenuItem[] items) : base(game) { restartMenu = new Menu[items.Length]; for (int i = 0; i < items.Length; i++) { restartMenu[i] = new Menu(items[i], GameSettings.menuColor); } restartMenu[0].MenuColor = GameSettings.activeColor; }
public MenuScreen(Game game, MenuItem[] items, Texture2D background, Rectangle backgroundRect) : base(game) { menuBackground = background; menuGameName = items[3]; menuBackgroundR = backgroundRect; menu = new Menu[3]; menu[0] = new Menu(items[0], GameSettings.activeColor); menu[1] = new Menu(items[1], GameSettings.menuColor); menu[2] = new Menu(items[2], GameSettings.menuColor); }