示例#1
0
 @Override
 public GlobalSprite.Implementation getSpriteImplementation(
     TudeyContext ctx, Scope scope, GlobalSprite.Implementation impl) {
   SceneGlobalConfig config =
       ctx.getConfigManager().getConfig(SceneGlobalConfig.class, sceneGlobal);
   return (config == null) ? null : config.getSpriteImplementation(ctx, scope, impl);
 }
示例#2
0
 @Override
 public Original getOriginal(ConfigManager cfgmgr) {
   SceneGlobalConfig config = cfgmgr.getConfig(SceneGlobalConfig.class, sceneGlobal);
   return (config == null) ? null : config.getOriginal(cfgmgr);
 }