Examples of LDoubleSetting


Examples of lev.gui.LDoubleSetting

    @Override
    protected void initialize() {
        super.initialize();


        spawn0weight = new LDoubleSetting("Weighting for NO Spawns", ASIS.settingsFontSmall, ASIS.blue,
                0, 1000, 1);
        spawn0weight.tie(GUISettings.ISSPAWN0WEIGHT, ASIS.save, SUMGUI.helpPanel, true);
        setPlacement(spawn0weight);
        AddSetting(spawn0weight);

        spawn1weight = new LDoubleSetting("Spawn Weight for 1 Spawn", ASIS.settingsFontSmall, ASIS.blue,
                0, 1000, 1);
        spawn1weight.tie(GUISettings.ISSPAWN1WEIGHT, ASIS.save, SUMGUI.helpPanel, true);
        setPlacement(spawn1weight);
        AddSetting(spawn1weight);

        spawn2weight = new LDoubleSetting("Spawn Weight for 2 Spawns", ASIS.settingsFontSmall, ASIS.blue,
                0, 1000, 1);
        spawn2weight.tie(GUISettings.ISSPAWN2WEIGHT, ASIS.save, SUMGUI.helpPanel, true);
        setPlacement(spawn2weight);
        AddSetting(spawn2weight);

        spawn3weight = new LDoubleSetting("Spawn Weight for 3 Spawns", ASIS.settingsFontSmall, ASIS.blue,
                0, 1000, 1);
        spawn3weight.tie(GUISettings.ISSPAWN3WEIGHT, ASIS.save, SUMGUI.helpPanel, true);
        setPlacement(spawn3weight);
        AddSetting(spawn3weight);

        spawn4weight = new LDoubleSetting("Spawn Weight for 4 Spawns", ASIS.settingsFontSmall, ASIS.blue,
                0, 1000, 1);
        spawn4weight.tie(GUISettings.ISSPAWN4WEIGHT, ASIS.save, SUMGUI.helpPanel, true);
        setPlacement(spawn4weight);
        AddSetting(spawn4weight);

        spawn5weight = new LDoubleSetting("Spawn Weight for 5 Spawns", ASIS.settingsFontSmall, ASIS.blue,
                0, 1000, 1);
        spawn5weight.tie(GUISettings.ISSPAWN5WEIGHT, ASIS.save, SUMGUI.helpPanel, true);
        setPlacement(spawn5weight);
        AddSetting(spawn5weight);

        spawn6weight = new LDoubleSetting("Spawn Weight for 6 Spawns", ASIS.settingsFontSmall, ASIS.blue,
                0, 1000, 1);
        spawn6weight.tie(GUISettings.ISSPAWN6WEIGHT, ASIS.save, SUMGUI.helpPanel, true);
        setPlacement(spawn6weight);
        AddSetting(spawn6weight);

        spawn7weight = new LDoubleSetting("Spawn Weight for 7 Spawns", ASIS.settingsFontSmall, ASIS.blue,
                0, 1000, 1);
        spawn7weight.tie(GUISettings.ISSPAWN7WEIGHT, ASIS.save, SUMGUI.helpPanel, true);
        setPlacement(spawn7weight);
        AddSetting(spawn7weight);

        spawn8weight = new LDoubleSetting("Spawn Weight for 8 Spawns", ASIS.settingsFontSmall, ASIS.blue,
                0, 1000, 1);
        spawn8weight.tie(GUISettings.ISSPAWN8WEIGHT, ASIS.save, SUMGUI.helpPanel, true);
        setPlacement(spawn8weight);
        AddSetting(spawn8weight);

        spawn9weight = new LDoubleSetting("Spawn Weight for 9 Spawns", ASIS.settingsFontSmall, ASIS.blue,
                0, 1000, 1);
        spawn9weight.tie(GUISettings.ISSPAWN9WEIGHT, ASIS.save, SUMGUI.helpPanel, true);
        setPlacement(spawn9weight);
        AddSetting(spawn9weight);

        reducedInteriorSpawns = new LDoubleSetting("Reduced Interior Spawns", ASIS.settingsFontSmall, ASIS.blue, 0, 1000, 1);
        reducedInteriorSpawns.tie(ASISSaveFile.GUISettings.ISREDUCEDINTERIORSPAWNS, ASIS.save, SUMGUI.helpPanel, true);
        setPlacement(reducedInteriorSpawns);
        AddSetting(reducedInteriorSpawns);

        alignRight();
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.