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