예제 #1
0
 @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);
   }
 }
예제 #2
0
 /** 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);
 }
예제 #3
0
 @Override
 public Original getOriginal(ConfigManager cfgmgr) {
   SceneGlobalConfig config = cfgmgr.getConfig(SceneGlobalConfig.class, sceneGlobal);
   return (config == null) ? null : config.getOriginal(cfgmgr);
 }