@Override
	public Position getNextPosition() {
		Position pos = super.getNextPosition();
		if(Configuration.useMap){
			// anything else than white is considered an obstacle
			while(!Tools.getBackgroundMap().isWhite(pos)){
				pos = super.getNextPosition();
			}
		}
		return pos;
	}