@Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + (bomb ? 1231 : 1237);
        result = prime * result + Arrays.hashCode(coordinates);
        result = prime * result + ((state == null) ? 0 : state.hashCode());
        return result;
    }