Esempio n. 1
0
 public boolean isLocalSlot(PlayerSlot slot) {
   if (slot == null) return false;
   return Objects.equal(clientId, slot.getOwner());
 }
Esempio n. 2
0
 public Color getPlayerColor(PlayerSlot playerSlot) {
     return playerColors[playerSlot.getNumber()];
 }