Then it would have to be a sphere. (and I tried things like getOneIntersectingObject already. Same problem)
if (collisionLow(10, 25) || collisionHigh(10, 25)) // with these methods private boolean collisionLow(int down, int range) { setLocation(getX(), getY()+down); boolean collision = getNeighbours(range, true, null); setLocation(getX(), getY()-down); return collision; } // and private boolean collisionHigh(int up, int range) { setLocation(getX(), getY()-up); boolean collision = getNeighbours(range, true, null); setLocation(getX(), getY()+up); return collision; }