Examples of canUnjamRAC()


Examples of megamek.common.Entity.canUnjamRAC()

    private void updateRACButton() {
        final Entity ce = ce();
        if (null == ce) {
            return;
        }
        setUnjamEnabled(ce.canUnjamRAC()
                && ((gear == MovementDisplay.GEAR_LAND)
                        || (gear == MovementDisplay.GEAR_TURN) || (gear == MovementDisplay.GEAR_BACKUP))
                && (cmd.getMpUsed() <= ce.getWalkMP()));
    }
View Full Code Here

Examples of megamek.common.Entity.canUnjamRAC()

        final Entity ce = ce();

        if (null == ce) {
            return;
        }
        setUnjamEnabled(ce.canUnjamRAC() && ((gear == MovementDisplay.GEAR_LAND) || (gear == MovementDisplay.GEAR_TURN) || (gear == MovementDisplay.GEAR_BACKUP)) && (cmd.getMpUsed() <= ce.getWalkMP()));
    }

    private void updateSearchlightButton() {
        final Entity ce = ce();
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.