Пример #1
0
 private void updateTileRack() {
   tileRack.clear();
   ITileRack current = getLocalTileRack();
   if (current != null) {
     tileRack.add(current.getTiles());
   }
 }
Пример #2
0
 private void pushRack() {
   if (!validateRacks()) return;
   ITileRack rack = getLocalTileRack();
   if (rack != null) {
     rack.clear();
     rack.add(tileRack.getTiles());
   }
   updateTileRack();
 }