Package org.terasology.logic.behavior

Examples of org.terasology.logic.behavior.BehaviorComponent


            @Override
            public void onActivated(UIWidget button) {
                if (selectedTree != null && selectedInterpreter != null) {
                    EntityRef minion = selectedInterpreter.actor().minion();
                    minion.removeComponent(BehaviorComponent.class);
                    BehaviorComponent component = new BehaviorComponent();
                    component.tree = selectedTree;
                    minion.addComponent(component);
                    List<Interpreter> interpreter = behaviorSystem.getInterpreter();
                    selectEntity.setSelection(null);
                    for (Interpreter i : interpreter) {
View Full Code Here

TOP

Related Classes of org.terasology.logic.behavior.BehaviorComponent

Copyright © 2018 www.massapicom. 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.