Package org.terasology.engine

Examples of org.terasology.engine.ComponentSystemManager


        return "Awaiting Character Spawn...";
    }

    @Override
    public boolean step() {
        ComponentSystemManager componentSystemManager = CoreRegistry.get(ComponentSystemManager.class);
        for (UpdateSubscriberSystem updater : componentSystemManager.iterateUpdateSubscribers()) {
            updater.update(0.0f);
        }
        LocalPlayer localPlayer = CoreRegistry.get(LocalPlayer.class);
        ClientComponent client = localPlayer.getClientEntity().getComponent(ClientComponent.class);
        if (client != null && client.character.exists()) {
View Full Code Here


        return !componentSystems.hasNext();
    }

    @Override
    public void begin() {
        ComponentSystemManager csm = CoreRegistry.get(ComponentSystemManager.class);
        componentSystems = csm.iterateAll().iterator();
    }
View Full Code Here

TOP

Related Classes of org.terasology.engine.ComponentSystemManager

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.