void PlayerClient_ThemeSelected(ThemeInfoViewModel theme)
        {
            for (int i = 0; i < TInfo.RoundInfo.Count; i++)
            {
                if (TInfo.RoundInfo[i] == theme)
                {
                    _actor.SendMessageWithArgs(Messages.Delete, i);
                }
            }

            Clear();
        }
Exemplo n.º 2
0
        private void PlayerClient_ThemeSelected(ThemeInfoViewModel theme)
        {
            for (int i = 0; i < TInfo.RoundInfo.Count; i++)
            {
                if (TInfo.RoundInfo[i] == theme)
                {
                    _viewerActions.SendMessageWithArgs(Messages.Delete, i);
                    break;
                }
            }

            Clear();
        }
Exemplo n.º 3
0
        private void ThemeInfo_Selected(ThemeInfoViewModel theme)
        {
            int themeIndex;

            for (themeIndex = 0; themeIndex < TInfo.RoundInfo.Count; themeIndex++)
            {
                if (TInfo.RoundInfo[themeIndex] == theme)
                {
                    break;
                }
            }

            GameHost.OnThemeSelected(themeIndex);
        }