SwitchTo() public méthode

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