示例#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
文件: Scorebord.cs 项目: Bulikeri/IPP
 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
文件: Mediator.cs 项目: Bulikeri/IPP
 public abstract void Send(Player player);