Package lev.gui

Examples of lev.gui.LNumericSetting


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


        spawn0weight = new LNumericSetting("Weighting to have NO Spawns", ASIS.settingsFontSmall, ASIS.blue,
                0, 1000, 1);
        spawn0weight.tie(ASISSaveFile.GUISettings.SRSPAWN0WEIGHT, ASIS.save, SUMGUI.helpPanel, true);
        setPlacement(spawn0weight);
        AddSetting(spawn0weight);

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

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

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

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

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

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

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

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

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

        useInteriorSpawns = new LCheckBox("Use Interior Spawns", ASIS.settingsFontSmall, ASIS.blue);
        useInteriorSpawns.tie(ASISSaveFile.GUISettings.SRUSEINTERIORSPAWNS, ASIS.save, SUMGUI.helpPanel, true);
        useInteriorSpawns.setOffset(2);
        useInteriorSpawns.addShadow();
        setPlacement(useInteriorSpawns);
        AddSetting(useInteriorSpawns);

        firstGroupChance = new LNumericSetting("Chance for Random Spawns", ASIS.settingsFont, ASIS.blue,
                0, 1000, 1);
        firstGroupChance.tie(ASISSaveFile.GUISettings.SRRANDOMSPAWNCHANCE, ASIS.save, SUMGUI.helpPanel, true);
        setPlacement(firstGroupChance);
        AddSetting(firstGroupChance);

        spawn9weight = new LNumericSetting("Chance for Multiple Groups", ASIS.settingsFont, ASIS.blue,
                0, 1000, 1);
        spawn9weight.tie(ASISSaveFile.GUISettings.SRMULTIGROUPCHANCE, ASIS.save, SUMGUI.helpPanel, true);
        setPlacement(spawn9weight);
        AddSetting(spawn9weight);
View Full Code Here


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


        numPotions = new LNumericSetting("Number of Potions", ASIS.settingsFont, ASIS.blue,
                0, 100, 1);
        numPotions.tie(ASISSaveFile.GUISettings.NUMBER_OF_POTIONS, ASIS.save, SUMGUI.helpPanel, true);
        setPlacement(numPotions);
        AddSetting(numPotions);

        numChance = new LNumericSetting("Chance Per Potion", ASIS.settingsFont, ASIS.blue,
                0, 100, 1);
        numChance.tie(ASISSaveFile.GUISettings.CHANCE_PER_POTION, ASIS.save, SUMGUI.helpPanel, true);
        setPlacement(numChance);
        AddSetting(numChance);
View Full Code Here

TOP

Related Classes of lev.gui.LNumericSetting

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.