/** * Deletes the tile in the ith position * * @param i the position of the tile */ public void delete(int i) { super.delete(i); fixPositions(); }
/** * Adds a given tile to the rack. * * @param tile the tile to be added */ public void addTile(Tile tile) { super.addTile(tile); fixPositions(); }