SwitchTo() public method

public SwitchTo ( Octgn.Play.Player player, string alternate = "", bool notifyServer = true ) : void
player Octgn.Play.Player
alternate string
notifyServer bool
return void
Example #1
0
 public void CardSwitchTo(Player player, Card card, string alternate)
 {
     if (player.Id != Player.LocalPlayer.Id)
     {
         card.SwitchTo(player, alternate);
     }
 }
Example #2
0
 public void CardSwitchTo(Player player, Card card, string alternate)
 {
     WriteReplayAction(player.Id);
     if (!IsLocalPlayer(player))
     {
         card.SwitchTo(player, alternate);
     }
 }
Example #3
0
 public void CardSwitchTo(Player player, Card card, string alternate)
 {
     if(player.Id != Player.LocalPlayer.Id)
         card.SwitchTo(player, alternate);
 }