public Robot getNeighbour(Robot robot) {
	Point neighbourPos = getReferenceField(robot, 1);
	return getRobotAt(neighbourPos);

    }
public Robot getNeighbour ( Robot robot ) { Point neighbourPos = getReferenceField ( robot , 1 ) ; return getRobotAt ( neighbourPos ) ; }
Gets the robot in the reference field

@param robot the robot to use as centre
@return the robot in front, or null if field is empty