Пример #1
0
 public SongSelectionMenu(GameApplication app, Player player, Theme theme)
 {
     myApp = app;
     myPlayer = player;
     myTheme = theme;
 }
Пример #2
0
        public bool IsThemeAvalaible(Theme theme)
        {
            bool avalaible = true;

            for (int i = 0; i < NumPlayers; i++)
            {
                if (Players[i].ChosenThemes.Contains(theme))
                {
                    avalaible = false;
                    break;
                }
            }
            return avalaible;
        }