/** * Returns the <code>EquipmentType</code> internal name for the manipulator * mounted in the left arm of this <code>BattleArmor</code> squad. * * @return */ public String getLeftManipulatorName(){ Mounted m = getLeftManipulator(); if (m == null){ return MANIPULATOR_TYPE_STRINGS[MANIPULATOR_NONE]; } else { return m.getType().getInternalName(); } }
currentManip = ((BattleArmor)entity).getLeftManipulator(); } else if (m.getBaMountLoc() == BattleArmor.MOUNT_LOC_RARM){ currentManip = ((BattleArmor)entity).getRightManipulator();
mountedManip = ((BattleArmor)entity).getLeftManipulator(); } else if (meaMountLoc == BattleArmor.MOUNT_LOC_RARM){ mountedManip = ((BattleArmor)entity).getRightManipulator();
Mounted manipulator = null; if (m.getBaMountLoc() == BattleArmor.MOUNT_LOC_LARM){ manipulator = ba.getLeftManipulator(); } else if (m.getBaMountLoc() == BattleArmor.MOUNT_LOC_RARM){
manipulators.add(formatManipulatorRow(BattleArmor.MOUNT_LOC_LARM, ba.getLeftManipulator())); manipulators.add(formatManipulatorRow(BattleArmor.MOUNT_LOC_RARM, ba.getRightManipulator())); setModelData("manipulators", manipulators);