Package org.terasology.engine.subsystem

Examples of org.terasology.engine.subsystem.EngineSubsystem


         */
        disposed = true;
        initialised = false;
        Iterator<EngineSubsystem> iter = subsystems.descendingIterator();
        while (iter.hasNext()) {
            EngineSubsystem subsystem = iter.next();
            try {
                subsystem.dispose();
            } catch (Throwable t) {
                logger.error("Unable to dispose subsystem {}", subsystem, t);
            }
        }

View Full Code Here


        logger.info("Shutting down Terasology...");

        try {
            Iterator<EngineSubsystem> iter = subsystems.descendingIterator();
            while (iter.hasNext()) {
                EngineSubsystem subsystem = iter.next();
                subsystem.shutdown(config);
            }

            config.save();
            if (currentState != null) {
                currentState.dispose();
View Full Code Here

TOP

Related Classes of org.terasology.engine.subsystem.EngineSubsystem

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.