@Override
    public boolean equals(Object other) {
       if(other == null || other.getClass() != getClass())
           return false;
       return this.id ==((ActorId)other).id && this.playerId ==((ActorId)other).playerId;
    }