Package megamek.common

Examples of megamek.common.Infantry.initializeInternal()


        loadEquipment(t, "Platoon", Infantry.LOC_INFANTRY);

        if (dataFile.exists("troopers")) {
            int troopers = dataFile.getDataAsInt("troopers")[0];
            t.initializeInternal(troopers, Infantry.LOC_INFANTRY);
            if (t.hasWorkingMisc(MiscType.F_TOOLS, MiscType.S_HEAVY_ARMOR)) {
                t.initializeArmor(troopers, Infantry.LOC_INFANTRY);
            }
        } else {
            t.autoSetInternal();
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.