Package org.terasology.logic.behavior.asset

Examples of org.terasology.logic.behavior.asset.NodesClassLibrary.scan()


        CoreRegistry.put(OneOfProviderFactory.class, new OneOfProviderFactory());

        // Behaviour Trees Node Library
        NodesClassLibrary nodesClassLibrary = new NodesClassLibrary(reflectFactory, copyStrategyLibrary);
        CoreRegistry.put(NodesClassLibrary.class, nodesClassLibrary);
        nodesClassLibrary.scan(environment);

        registerComponents(library.getComponentLibrary(), environment);
        registerEvents(entityManager.getEventSystem(), environment);
        return entityManager;
    }
View Full Code Here


        CopyStrategyLibrary copyStrategies = new CopyStrategyLibrary(reflectFactory);
        CoreRegistry.put(CopyStrategyLibrary.class, copyStrategies);
        CoreRegistry.put(ModuleManager.class, moduleManager);
        NodesClassLibrary nodesClassLibrary = new NodesClassLibrary(reflectFactory, copyStrategies);
        CoreRegistry.put(NodesClassLibrary.class, nodesClassLibrary);
        nodesClassLibrary.scan(moduleManager.getEnvironment());
    }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.