.append( mech.getRunMPwithoutMASC() ); if (hasMASC) { sBasic.append( "(") .append( mech.getWalkMP() * 2) .append( ")"); }
.append( mech.getRunMPasString() );
    public MechView(Entity entity) {        mech = entity;        isMech = entity instanceof Mech;        isInf = entity instanceof Infantry;        isVehicle = entity instanceof Tank;        hasEndoSteel = false;        hasFerroFibrous = false;        sLoadout.append( getWeapons() )            .append("\n")            .append(getAmmo())            .append("\n")            .append(getMisc()); //has to occur before basic is processed        sBasic.append( mech.getShortName() );        sBasic.append("\n");        if ( !isInf ) {            sBasic.append( Math.round(mech.getWeight()) )                .append(" tons   " );        }        if (mech.isClan()) {            sBasic.append( "Clan" );        } else {            sBasic.append( "Inner Sphere" );        }        sBasic.append("\n");        if ( mech.hasC3M() || mech.hasC3S() || mech.hasC3i()) {            sBasic.append( "Linked c3 BV: ");            // TODO: refactor this code.            if ( isMech ) {                sBasic.append( ((Mech)mech).calculateBattleValue(true) );            } else {                sBasic.append( ((Tank)mech).calculateBattleValue(true) );            }        }        sBasic.append("\n");        sBasic.append( "Movement: " )            .append( mech.getWalkMP() )            .append( "/" )            .append( mech.getRunMPwithoutMASC() );        if (hasMASC) {            sBasic.append( "(")                .append( mech.getWalkMP() * 2)                .append( ")");        }        sBasic.append( "/" )            .append( mech.getJumpMP() );        if (isVehicle) {            sBasic.append(" (")                .append(entity.getMovementTypeAsString())                .append(")");        }        sBasic.append( "\n" );        if ( isMech ) {            Mech aMech = (Mech) mech;            sBasic.append( "Engine: " )                .append( aMech.engineRating() );            if (aMech.hasXL()) {                sBasic.append( " XL" );            }            if (aMech.hasLightEngine()) {                sBasic.append( " Light" );            }            sBasic.append("\n");            sBasic.append( "Heat Sinks: " )                .append( aMech.heatSinks() );            if (aMech.getHeatCapacity() > aMech.heatSinks()) {                sBasic.append( " [" )                    .append( aMech.getHeatCapacity() )                    .append( "]" );            }            sBasic.append("\n");        }        sBasic.append("\n")            .append( getInternalAndArmor() );    }