Пример #1
0
        void wizardOzWindow_CardLocated(object sender, CardEventArgs e)
        {
            Debug.Assert(stateManager.State == GameState.AddArmy);
            CardHolder cardHolder = stateManager.ActivePlayerId == 1 ? cardHolder1 : cardHolder2;

            cardHolder.LocateCard(e.CardId);
        }
Пример #2
0
 void wizardOzWindow_CardLocated(object sender, CardEventArgs e)
 {
     Debug.Assert(stateManager.State == GameState.AddArmy);
     CardHolder cardHolder = stateManager.ActivePlayerId == 1 ? cardHolder1 : cardHolder2;
     cardHolder.LocateCard(e.CardId);
 }