示例#1
0
 public void addPlayer(Player p)
 {
     if (cnt == 25) cnt = 0;
     players[cnt++] = p;
 }
示例#2
0
 public void setPlayer(Player p, int i)
 {
     players[i] = p;
 }