use of eidolons.libgdx.anims.particles.EmitterPresetMaster.EMITTER_VALUE_GROUP in project Eidolons by IDemiurge.
the class EmitterController method modify.
private void modify(SFX_MODIFICATION_PRESET preset) {
EMITTER_VALUE_GROUP group = getValGroup(preset);
String val = getValue(preset);
String modVals = (val == null) ? "" : group + EmitterPresetMaster.value_separator + val;
EmitterActor newActor = EmitterPresetMaster.getInstance().getModifiedEmitter(last.path, true, modVals);
if (val == null) {
newActor.getEffect().toggle(group.getFieldName());
}
add(newActor, new Vector2(last.getX() + // newActor.getEffect().getBoundingBox().getWidth()
100, last.getY()));
}
Aggregations