Esempio n. 1
0
 public static void setInventoryItemNames(Table targetTable, String name) {
   Array<Cell> cells = targetTable.getCells();
   for (int i = 0; i < cells.size; i++) {
     InventorySlot inventorySlot = ((InventorySlot) cells.get(i).getActor());
     if (inventorySlot == null) continue;
     inventorySlot.updateAllInventoryItemNames(name);
   }
 }