@Override
    public boolean equals(Object obj) {
        if (obj == this) {
            return true;
        }
        if (obj == null || obj.getClass() != this.getClass()) {
            return false;
        }
        
        TurnCoordinate tc = (TurnCoordinate) obj;        
        return x == tc.x && y == tc.y;
    }