@Override public void getPreloads(ConfigManager cfgmgr, PreloadableSet preloads) { EffectConfig config = cfgmgr.getConfig(EffectConfig.class, effect); EffectConfig.Original original = (config == null) ? null : config.getOriginal(cfgmgr); if (original != null) { original.getPreloads(cfgmgr, preloads); } }
/** Gets the original configuration of the spawned actor. */ public ActorConfig.Original getOriginal(ConfigManager cfgmgr) { ActorConfig config = cfgmgr.getConfig(ActorConfig.class, actor); return (config == null) ? null : config.getOriginal(cfgmgr); }
@Override public Original getOriginal(ConfigManager cfgmgr) { SceneGlobalConfig config = cfgmgr.getConfig(SceneGlobalConfig.class, sceneGlobal); return (config == null) ? null : config.getOriginal(cfgmgr); }