Пример #1
0
 /**
  * Deletes the tile in the ith position
  *
  * @param i the position of the tile
  */
 public void delete(int i) {
   super.delete(i);
   fixPositions();
 }
Пример #2
0
 /**
  * Adds a given tile to the rack.
  *
  * @param tile the tile to be added
  */
 public void addTile(Tile tile) {
   super.addTile(tile);
   fixPositions();
 }