Пример #1
0
 //private int totalScorePlayer1;
 //private int totalScorePlayer2;
 public override void Send(Player player)
 {
     if (player.id == 1)//player == player_1
     {
         Scorebord.totalScorePlayer1++;
     }
     else
     {
         Scorebord.totalScorePlayer2++;
     }
 }
Пример #2
0
 public static int Update(Player player)
 {
     if (player.id == 1)
     {
         return totalScorePlayer1;
     }
     else
     {
         return totalScorePlayer2;
     }
 }
Пример #3
0
 private void setLandLocation(Button tile, string name, Player player)
 {
     tile.Text = name;
 }
Пример #4
0
 public abstract void Send(Player player);