Esempio n. 1
0
 public void PassTo(Player who, ControllableObject obj, Player player, bool requested)
 {
     // Ignore message that we sent in the first place
     if (who != Player.LocalPlayer)
     {
         obj.PassControlTo(player, who, false, requested);
     }
 }
Esempio n. 2
0
 public void PassTo(Player who, ControllableObject obj, Player player, bool requested)
 {
     // Ignore message that we sent in the first place
     if (who != Player.LocalPlayer)
     {
         obj.PassControlTo(player, who, false, requested);
     }
     if (obj is Card)
     {
         Program.GameEngine.EventProxy.OnCardControllerChanged_3_1_0_2((Card)obj, who, player);
     }
 }