private void updateTileRack() { tileRack.clear(); ITileRack current = getLocalTileRack(); if (current != null) { tileRack.add(current.getTiles()); } }
private void pushRack() { if (!validateRacks()) return; ITileRack rack = getLocalTileRack(); if (rack != null) { rack.clear(); rack.add(tileRack.getTiles()); } updateTileRack(); }