Package com.khorn.terraincontrol.configuration.WorldConfig

Examples of com.khorn.terraincontrol.configuration.WorldConfig.ConfigMode


    {
        EnumSetting<ConfigMode> setting = new EnumSetting<ConfigMode>("TestSetting", ConfigMode.WriteAll);
        for (ConfigMode configMode : ConfigMode.values())
        {
            // .toUpperCase to make sure that it is case insensitive
            ConfigMode readBack = setting.read(configMode.name().toUpperCase());

            // Make sure we actually have got the correct config mode
            assertEquals(configMode, readBack);
        }
    }
View Full Code Here

TOP

Related Classes of com.khorn.terraincontrol.configuration.WorldConfig.ConfigMode

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.