Example #1
0
 public void RemovePlayerFromTable(int PlayerPosition) {
   Player playerToRemove = null;
   for (Player p : tbl.getPlayers()) {
     if (p.getiPlayerPosition() == PlayerPosition) {
       playerToRemove = p;
       break;
     }
   }
   tbl.removePlayer(playerToRemove);
 }
Example #2
0
 public ArrayList<Player> GetSeatedPlayers() {
   return tbl.getPlayers();
 }
Example #3
0
 public void AddPlayerToTable(Player p) {
   tbl.addPlayer(p);
 }