示例#1
0
文件: MainApp.java 项目: Chake96/Lab6
 public void RemovePlayerFromTable(int PlayerPosition) {
   Player playerToRemove = null;
   for (Player p : tbl.getPlayers()) {
     if (p.getiPlayerPosition() == PlayerPosition) {
       playerToRemove = p;
       break;
     }
   }
   tbl.removePlayer(playerToRemove);
 }
示例#2
0
文件: MainApp.java 项目: Chake96/Lab6
 public ArrayList<Player> GetSeatedPlayers() {
   return tbl.getPlayers();
 }
示例#3
0
文件: MainApp.java 项目: Chake96/Lab6
 public void AddPlayerToTable(Player p) {
   tbl.addPlayer(p);
 }