Package org.terasology.config

Examples of org.terasology.config.PlayerConfig


        return "Setting up local player";
    }

    @Override
    public boolean step() {
        PlayerConfig playerConfig = CoreRegistry.get(Config.class).getPlayer();
        Client localClient = CoreRegistry.get(NetworkSystem.class).joinLocal(playerConfig.getName(), playerConfig.getColor());
        CoreRegistry.get(LocalPlayer.class).setClientEntity(localClient.getEntity());
        return true;
    }
View Full Code Here

TOP

Related Classes of org.terasology.config.PlayerConfig

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.