Package org.terasology.engine

Examples of org.terasology.engine.GameEngine.shutdown()


    @Override
    public void onStateChange() {
        GameEngine engine = CoreRegistry.get(GameEngine.class);
        GameState state = engine.getState();
        if (state instanceof StateMainMenu) {
            engine.shutdown();
        }
    }

}
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.