Package com.garbagemule.MobArena.util

Examples of com.garbagemule.MobArena.util.MutableInt


            ints = new HashMap<String, MutableInt>();
        }

        ints.clear();

        ints.put("kills", new MutableInt());
        ints.put("dmgDone", new MutableInt());
        ints.put("dmgTaken", new MutableInt());
        ints.put("swings", new MutableInt());
        ints.put("hits", new MutableInt());
        ints.put("lastWave", new MutableInt());
    }
View Full Code Here


            plugin.saveConfig();
        }
       
        // Populate the limits map using the values in the config-file.
        for (ArenaClass ac : classes.values()) {
            classLimits.put(ac, new MutableInt(limits.getInt(ac.getConfigName(), -1)));
        }
    }
View Full Code Here

     * @return true/false
     */
    public boolean canPlayerJoinClass(ArenaClass ac) {
        if (classLimits.get(ac) == null) {
            limits.set(ac.getConfigName(), -1);
            classLimits.put(ac, new MutableInt(-1));
            classesInUse.put(ac, new HashSet<String>());
        }
       
        if (classLimits.get(ac).value() <= -1)
            return true;
View Full Code Here

TOP

Related Classes of com.garbagemule.MobArena.util.MutableInt

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.