for (int innerKey : profiles.getIntegerKeys(root)) {
path = root + "." + innerKey;
modifier = WaypointModifierType.valueOf(profiles.getString(path + ".type")).create(
waypoint);
modifier.parse(profiles, path);
waypoint.addModifier(modifier);
}
}
temp.add(waypoint);
}
return temp;