Package org.terasology.rendering.nui

Examples of org.terasology.rendering.nui.UIScreenLayer


            }
        });
        WidgetUtil.trySubscribe(this, "multiplayer", new ActivateEventListener() {
            @Override
            public void onActivated(UIWidget button) {
                UIScreenLayer screen = getManager().pushScreen("engine:selectGameScreen");
                if (screen instanceof SelectGameScreen) {
                    ((SelectGameScreen) screen).setLoadingAsServer(true);
                }
            }
        });
        WidgetUtil.trySubscribe(this, "join", new ActivateEventListener() {
            @Override
            public void onActivated(UIWidget button) {
                UIScreenLayer screen = getManager().pushScreen("engine:joinGameScreen");
            }
        });
        WidgetUtil.trySubscribe(this, "settings", new ActivateEventListener() {
            @Override
            public void onActivated(UIWidget button) {
View Full Code Here

TOP

Related Classes of org.terasology.rendering.nui.UIScreenLayer

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.