public bool Equals(ClientData p) { if (p == null) { return(false); } return((getUsername() == p.getUsername()) && (getAddress() == p.getAddress()) && (getPort() == p.getPort()) && (isAlive() == p.isAlive()) && (isWerewolf() == p.isWerewolf()) && (getEndPoint() == p.getEndPoint())); }