private void setAreas(){ areas[Aero.LOC_NOSE] = new PMSimplePolygonArea(noseArmor, unitDisplay, Aero.LOC_NOSE); areas[Aero.LOC_RWING] = new PMSimplePolygonArea(rightWingArmor, unitDisplay, Aero.LOC_RWING); areas[Aero.LOC_LWING] = new PMSimplePolygonArea(leftWingArmor, unitDisplay, Aero.LOC_LWING); areas[Aero.LOC_AFT] = new PMSimplePolygonArea(aftArmor, unitDisplay, Aero.LOC_AFT); areas[4] = new PMSimplePolygonArea(Structure, unitDisplay, Aero.LOC_NOSE); }
private void setAreas(){ areas[Jumpship.LOC_NOSE] = new PMSimplePolygonArea(noseArmor, unitDisplay, Jumpship.LOC_NOSE); areas[Jumpship.LOC_FLS] = new PMSimplePolygonArea(leftFSArmor, unitDisplay, Jumpship.LOC_FLS); areas[Jumpship.LOC_FRS] = new PMSimplePolygonArea(rightFSArmor, unitDisplay, Jumpship.LOC_FRS); areas[Jumpship.LOC_ALS] = new PMSimplePolygonArea(leftASArmor, unitDisplay, Jumpship.LOC_ALS); areas[Jumpship.LOC_ARS] = new PMSimplePolygonArea(rightASArmor, unitDisplay, Jumpship.LOC_ARS); areas[Jumpship.LOC_AFT] = new PMSimplePolygonArea(aftArmor, unitDisplay, Jumpship.LOC_AFT); areas[6] = new PMSimplePolygonArea(Structure, unitDisplay, Jumpship.LOC_NOSE); }
private void setAreas() { areas[Aero.LOC_NOSE] = new PMSimplePolygonArea(noseArmor, unitDisplay, Aero.LOC_NOSE); areas[Aero.LOC_RWING] = new PMSimplePolygonArea(rightWingArmor, unitDisplay, Aero.LOC_RWING); areas[Aero.LOC_LWING] = new PMSimplePolygonArea(leftWingArmor, unitDisplay, Aero.LOC_LWING); areas[Aero.LOC_AFT] = new PMSimplePolygonArea(aftArmor, unitDisplay, Aero.LOC_AFT); areas[4] = new PMSimplePolygonArea(Structure, unitDisplay, Aero.LOC_NOSE); }
private void setAreas() { areas[1] = new PMSimplePolygonArea(frontArmor, unitDisplay, SuperHeavyTank.LOC_FRONT); areas[2] = new PMSimplePolygonArea(rightFrontArmor, unitDisplay, SuperHeavyTank.LOC_FRONTRIGHT); areas[3] = new PMSimplePolygonArea(leftFrontArmor, unitDisplay, SuperHeavyTank.LOC_FRONTLEFT); areas[4] = new PMSimplePolygonArea(rightRearArmor, unitDisplay, SuperHeavyTank.LOC_REARRIGHT); areas[5] = new PMSimplePolygonArea(leftRearArmor, unitDisplay, SuperHeavyTank.LOC_REARLEFT); areas[6] = new PMSimplePolygonArea(rearArmor, unitDisplay, SuperHeavyTank.LOC_REAR); areas[7] = new PMSimplePolygonArea(turretArmor, unitDisplay, SuperHeavyTank.LOC_TURRET); areas[8] = new PMSimplePolygonArea(frontIS, unitDisplay, SuperHeavyTank.LOC_FRONT); areas[9] = new PMSimplePolygonArea(rightFrontIS, unitDisplay, SuperHeavyTank.LOC_FRONTRIGHT); areas[10] = new PMSimplePolygonArea(leftFrontIS, unitDisplay, SuperHeavyTank.LOC_FRONTLEFT); areas[11] = new PMSimplePolygonArea(rightRearIS, unitDisplay, SuperHeavyTank.LOC_REARRIGHT); areas[12] = new PMSimplePolygonArea(leftRearIS, unitDisplay, SuperHeavyTank.LOC_REARLEFT); areas[13] = new PMSimplePolygonArea(rearIS, unitDisplay, SuperHeavyTank.LOC_REAR); areas[14] = new PMSimplePolygonArea(turretIS, unitDisplay, SuperHeavyTank.LOC_TURRET); }
private void setAreas() { areas[1] = new PMSimplePolygonArea(frontArmor, unitDisplay, LargeSupportTank.LOC_FRONT); areas[2] = new PMSimplePolygonArea(rightFrontArmor, unitDisplay, LargeSupportTank.LOC_FRONTRIGHT); areas[3] = new PMSimplePolygonArea(leftFrontArmor, unitDisplay, LargeSupportTank.LOC_FRONTLEFT); areas[4] = new PMSimplePolygonArea(rightRearArmor, unitDisplay, LargeSupportTank.LOC_REARRIGHT); areas[5] = new PMSimplePolygonArea(leftRearArmor, unitDisplay, LargeSupportTank.LOC_REARLEFT); areas[6] = new PMSimplePolygonArea(rearArmor, unitDisplay, LargeSupportTank.LOC_REAR); areas[7] = new PMSimplePolygonArea(turretArmor, unitDisplay, LargeSupportTank.LOC_TURRET); areas[8] = new PMSimplePolygonArea(frontIS, unitDisplay, LargeSupportTank.LOC_FRONT); areas[9] = new PMSimplePolygonArea(rightFrontIS, unitDisplay, LargeSupportTank.LOC_FRONTRIGHT); areas[10] = new PMSimplePolygonArea(leftFrontIS, unitDisplay, LargeSupportTank.LOC_FRONTLEFT); areas[11] = new PMSimplePolygonArea(rightRearIS, unitDisplay, LargeSupportTank.LOC_REARRIGHT); areas[12] = new PMSimplePolygonArea(leftRearIS, unitDisplay, LargeSupportTank.LOC_REARLEFT); areas[13] = new PMSimplePolygonArea(rearIS, unitDisplay, LargeSupportTank.LOC_REAR); areas[14] = new PMSimplePolygonArea(turretIS, unitDisplay, LargeSupportTank.LOC_TURRET); }
private void setAreas(){ areas[Jumpship.LOC_NOSE] = new PMSimplePolygonArea(noseArmor, unitDisplay, Jumpship.LOC_NOSE); areas[Jumpship.LOC_FLS] = new PMSimplePolygonArea(leftFSArmor, unitDisplay, Jumpship.LOC_FLS); areas[Jumpship.LOC_FRS] = new PMSimplePolygonArea(rightFSArmor, unitDisplay, Jumpship.LOC_FRS); areas[Jumpship.LOC_ALS] = new PMSimplePolygonArea(leftASArmor, unitDisplay, Jumpship.LOC_ALS); areas[Jumpship.LOC_ARS] = new PMSimplePolygonArea(rightASArmor, unitDisplay, Jumpship.LOC_ARS); areas[Jumpship.LOC_AFT] = new PMSimplePolygonArea(aftArmor, unitDisplay, Jumpship.LOC_AFT); areas[6] = new PMSimplePolygonArea(Structure, unitDisplay, Jumpship.LOC_NOSE); }
private void setAreas() { areas[LABEL_FRONT_ARMOR] = new PMSimplePolygonArea(frontArmor, unitDisplay, VTOL.LOC_FRONT); areas[LABEL_RIGHT_ARMOR_1] = new PMSimplePolygonArea(rightArmor1, unitDisplay, VTOL.LOC_RIGHT); areas[LABEL_RIGHT_ARMOR_2] = new PMSimplePolygonArea(rightArmor2, unitDisplay, VTOL.LOC_RIGHT); areas[LABEL_LEFT_ARMOR_1] = new PMSimplePolygonArea(leftArmor1, unitDisplay, VTOL.LOC_LEFT); areas[LABEL_LEFT_ARMOR_2] = new PMSimplePolygonArea(leftArmor2, unitDisplay, VTOL.LOC_LEFT); areas[LABEL_REAR_ARMOR] = new PMSimplePolygonArea(rearArmor, unitDisplay, VTOL.LOC_REAR); areas[LABEL_ROTOR_ARMOR_1] = new PMSimplePolygonArea(rotorArmor1, unitDisplay, VTOL.LOC_ROTOR); areas[LABEL_ROTOR_ARMOR_2] = new PMSimplePolygonArea(rotorArmor2, unitDisplay, VTOL.LOC_ROTOR); areas[LABEL_CHIN_TU_ARMOR] = new PMSimplePolygonArea(chinTurretArmor, unitDisplay, VTOL.LOC_TURRET_2); areas[LABEL_FRONT_IS] = new PMSimplePolygonArea(frontIS, unitDisplay, VTOL.LOC_FRONT); areas[LABEL_RIGHT_IS_1] = new PMSimplePolygonArea(rightIS1, unitDisplay, VTOL.LOC_RIGHT); areas[LABEL_RIGHT_IS_2] = new PMSimplePolygonArea(rightIS2, unitDisplay, VTOL.LOC_RIGHT); areas[LABEL_LEFT_IS_1] = new PMSimplePolygonArea(leftIS1, unitDisplay, VTOL.LOC_LEFT); areas[LABEL_LEFT_IS_2] = new PMSimplePolygonArea(leftIS2, unitDisplay, VTOL.LOC_LEFT); areas[LABEL_REAR_IS] = new PMSimplePolygonArea(rearIS, unitDisplay, VTOL.LOC_REAR); areas[LABEL_ROTOR_IS] = new PMSimplePolygonArea(rotorIS, unitDisplay, VTOL.LOC_ROTOR); areas[LABEL_CHIN_TU_IS] = new PMSimplePolygonArea(chinTurretIS, unitDisplay, VTOL.LOC_TURRET); }
private void setAreas() { areas[Tank.LOC_FRONT] = new PMSimplePolygonArea(frontArmor, unitDisplay, Tank.LOC_FRONT); areas[Tank.LOC_RIGHT] = new PMSimplePolygonArea(rightArmor, unitDisplay, Tank.LOC_RIGHT); areas[Tank.LOC_LEFT] = new PMSimplePolygonArea(leftArmor, unitDisplay, Tank.LOC_LEFT); areas[Tank.LOC_REAR] = new PMSimplePolygonArea(rearArmor, unitDisplay, Tank.LOC_REAR); areas[Tank.LOC_TURRET] = new PMSimplePolygonArea(turretArmor, unitDisplay, Tank.LOC_TURRET); areas[Tank.LOC_FRONT + INT_STR_OFFSET] = new PMSimplePolygonArea( frontIS, unitDisplay, Tank.LOC_FRONT); areas[Tank.LOC_RIGHT + INT_STR_OFFSET] = new PMSimplePolygonArea( rightIS, unitDisplay, Tank.LOC_FRONT); areas[Tank.LOC_LEFT + INT_STR_OFFSET] = new PMSimplePolygonArea(leftIS, unitDisplay, Tank.LOC_LEFT); areas[Tank.LOC_REAR + INT_STR_OFFSET] = new PMSimplePolygonArea(rearIS, unitDisplay, Tank.LOC_REAR); areas[Tank.LOC_TURRET + INT_STR_OFFSET] = new PMSimplePolygonArea( turretIS, unitDisplay, Tank.LOC_TURRET); }
private void setAreas() { areas[Mech.LOC_HEAD] = new PMSimplePolygonArea(head, unitDisplay, Mech.LOC_HEAD); areas[Mech.LOC_CT] = new PMSimplePolygonArea(centralTorso, unitDisplay, Mech.LOC_CT); areas[Mech.LOC_RT] = new PMSimplePolygonArea(rightTorso, unitDisplay, Mech.LOC_RT); areas[Mech.LOC_LT] = new PMSimplePolygonArea(leftTorso, unitDisplay, Mech.LOC_LT); areas[Mech.LOC_RARM] = new PMSimplePolygonArea(rightArm, unitDisplay, Mech.LOC_RARM); areas[Mech.LOC_LARM] = new PMSimplePolygonArea(leftArm, unitDisplay, Mech.LOC_LARM); areas[Mech.LOC_RLEG] = new PMSimplePolygonArea(rightLeg, unitDisplay, Mech.LOC_RLEG); areas[Mech.LOC_LLEG] = new PMSimplePolygonArea(leftLeg, unitDisplay, Mech.LOC_LLEG); areas[REAR_AREA_OFFSET + Mech.LOC_CT] = new PMSimplePolygonArea( rearCentralTorso, unitDisplay, Mech.LOC_CT); areas[REAR_AREA_OFFSET + Mech.LOC_RT] = new PMSimplePolygonArea( rearRightTorso, unitDisplay, Mech.LOC_RT); areas[REAR_AREA_OFFSET + Mech.LOC_LT] = new PMSimplePolygonArea( rearLeftTorso, unitDisplay, Mech.LOC_LT); areas[INT_STRUCTURE_OFFSET + Mech.LOC_HEAD] = new PMSimplePolygonArea( intStHead, unitDisplay, Mech.LOC_HEAD); areas[INT_STRUCTURE_OFFSET + Mech.LOC_CT] = new PMSimplePolygonArea( inStCentralTorso, unitDisplay, Mech.LOC_CT); areas[INT_STRUCTURE_OFFSET + Mech.LOC_RT] = new PMSimplePolygonArea( inStRightTorso, unitDisplay, Mech.LOC_RT); areas[INT_STRUCTURE_OFFSET + Mech.LOC_LT] = new PMSimplePolygonArea( inStLeftTorso, unitDisplay, Mech.LOC_LT); areas[INT_STRUCTURE_OFFSET + Mech.LOC_RARM] = new PMSimplePolygonArea( inStRightArm, unitDisplay, Mech.LOC_RARM); areas[INT_STRUCTURE_OFFSET + Mech.LOC_LARM] = new PMSimplePolygonArea( inStLeftArm, unitDisplay, Mech.LOC_LARM); areas[INT_STRUCTURE_OFFSET + Mech.LOC_RLEG] = new PMSimplePolygonArea( inStRightLeg, unitDisplay, Mech.LOC_RLEG); areas[INT_STRUCTURE_OFFSET + Mech.LOC_LLEG] = new PMSimplePolygonArea(
private void setAreas() { areas[Mech.LOC_HEAD] = new PMSimplePolygonArea(head, unitDisplay, Mech.LOC_HEAD); areas[Mech.LOC_CT] = new PMSimplePolygonArea(centralTorso, unitDisplay, Mech.LOC_CT); areas[Mech.LOC_RT] = new PMSimplePolygonArea(rightTorso, unitDisplay, Mech.LOC_RT); areas[Mech.LOC_LT] = new PMSimplePolygonArea(leftTorso, unitDisplay, Mech.LOC_LT); areas[Mech.LOC_RARM] = new PMSimplePolygonArea(rightArm, unitDisplay, Mech.LOC_RARM); areas[Mech.LOC_LARM] = new PMSimplePolygonArea(leftArm, unitDisplay, Mech.LOC_LARM); areas[Mech.LOC_RLEG] = new PMSimplePolygonArea(rightLeg, unitDisplay, Mech.LOC_RLEG); areas[Mech.LOC_LLEG] = new PMSimplePolygonArea(leftLeg, unitDisplay, Mech.LOC_LLEG); areas[Mech.LOC_CLEG] = new PMSimplePolygonArea(centerLeg, unitDisplay, Mech.LOC_CLEG); areas[REAR_AREA_OFFSET + Mech.LOC_CT] = new PMSimplePolygonArea( rearCentralTorso, unitDisplay, Mech.LOC_CT); areas[REAR_AREA_OFFSET + Mech.LOC_RT] = new PMSimplePolygonArea( rearRightTorso, unitDisplay, Mech.LOC_RT); areas[REAR_AREA_OFFSET + Mech.LOC_LT] = new PMSimplePolygonArea( rearLeftTorso, unitDisplay, Mech.LOC_LT); areas[INT_STRUCTURE_OFFSET + Mech.LOC_HEAD] = new PMSimplePolygonArea( intStHead, unitDisplay, Mech.LOC_HEAD); areas[INT_STRUCTURE_OFFSET + Mech.LOC_CT] = new PMSimplePolygonArea( inStCentralTorso, unitDisplay, Mech.LOC_CT); areas[INT_STRUCTURE_OFFSET + Mech.LOC_RT] = new PMSimplePolygonArea( inStRightTorso, unitDisplay, Mech.LOC_RT); areas[INT_STRUCTURE_OFFSET + Mech.LOC_LT] = new PMSimplePolygonArea( inStLeftTorso, unitDisplay, Mech.LOC_LT); areas[INT_STRUCTURE_OFFSET + Mech.LOC_RARM] = new PMSimplePolygonArea( inStRightArm, unitDisplay, Mech.LOC_RARM); areas[INT_STRUCTURE_OFFSET + Mech.LOC_LARM] = new PMSimplePolygonArea( inStLeftArm, unitDisplay, Mech.LOC_LARM); areas[INT_STRUCTURE_OFFSET + Mech.LOC_RLEG] = new PMSimplePolygonArea( inStRightLeg, unitDisplay, Mech.LOC_RLEG);
private void setAreas() { areas[Mech.LOC_HEAD] = new PMSimplePolygonArea(head, unitDisplay, Mech.LOC_HEAD); areas[Mech.LOC_CT] = new PMSimplePolygonArea(centralTorso, unitDisplay, Mech.LOC_CT); areas[Mech.LOC_RT] = new PMSimplePolygonArea(rightTorso, unitDisplay, Mech.LOC_RT); areas[Mech.LOC_LT] = new PMSimplePolygonArea(leftTorso, unitDisplay, Mech.LOC_LT); areas[Mech.LOC_RLEG] = new PMSimplePolygonArea(rightLeg, unitDisplay, Mech.LOC_RLEG); areas[Mech.LOC_LLEG] = new PMSimplePolygonArea(leftLeg, unitDisplay, Mech.LOC_LLEG); areas[REAR_AREA_OFFSET + Mech.LOC_CT] = new PMSimplePolygonArea( rearCentralTorso, unitDisplay, Mech.LOC_CT); areas[REAR_AREA_OFFSET + Mech.LOC_RT] = new PMSimplePolygonArea( rearRightTorso, unitDisplay, Mech.LOC_RT); areas[REAR_AREA_OFFSET + Mech.LOC_LT] = new PMSimplePolygonArea( rearLeftTorso, unitDisplay, Mech.LOC_LT); areas[INT_STRUCTURE_OFFSET + Mech.LOC_HEAD] = new PMSimplePolygonArea( intStHead, unitDisplay, Mech.LOC_HEAD); areas[INT_STRUCTURE_OFFSET + Mech.LOC_CT] = new PMSimplePolygonArea( inStCentralTorso, unitDisplay, Mech.LOC_CT); areas[INT_STRUCTURE_OFFSET + Mech.LOC_RT] = new PMSimplePolygonArea( inStRightTorso, unitDisplay, Mech.LOC_RT); areas[INT_STRUCTURE_OFFSET + Mech.LOC_LT] = new PMSimplePolygonArea( inStLeftTorso, unitDisplay, Mech.LOC_LT); areas[INT_STRUCTURE_OFFSET + Mech.LOC_RLEG] = new PMSimplePolygonArea( inStRightLeg, unitDisplay, Mech.LOC_RLEG); areas[INT_STRUCTURE_OFFSET + Mech.LOC_LLEG] = new PMSimplePolygonArea(
private void setAreas() { areas[Mech.LOC_HEAD] = new PMSimplePolygonArea(head, unitDisplay, Mech.LOC_HEAD); areas[Mech.LOC_CT] = new PMSimplePolygonArea(centralTorso, unitDisplay, Mech.LOC_CT); areas[Mech.LOC_RT] = new PMSimplePolygonArea(rightTorso, unitDisplay, Mech.LOC_RT); areas[Mech.LOC_LT] = new PMSimplePolygonArea(leftTorso, unitDisplay, Mech.LOC_LT); areas[Mech.LOC_RARM] = new PMSimplePolygonArea(rightArm, unitDisplay, Mech.LOC_RARM); areas[Mech.LOC_LARM] = new PMSimplePolygonArea(leftArm, unitDisplay, Mech.LOC_LARM); areas[Mech.LOC_RLEG] = new PMSimplePolygonArea(rightLeg, unitDisplay, Mech.LOC_RLEG); areas[Mech.LOC_LLEG] = new PMSimplePolygonArea(leftLeg, unitDisplay, Mech.LOC_LLEG); areas[REAR_AREA_OFFSET + Mech.LOC_CT] = new PMSimplePolygonArea( rearCentralTorso, unitDisplay, Mech.LOC_CT); areas[REAR_AREA_OFFSET + Mech.LOC_RT] = new PMSimplePolygonArea( rearRightTorso, unitDisplay, Mech.LOC_RT); areas[REAR_AREA_OFFSET + Mech.LOC_LT] = new PMSimplePolygonArea( rearLeftTorso, unitDisplay, Mech.LOC_LT); areas[INT_STRUCTURE_OFFSET + Mech.LOC_HEAD] = new PMSimplePolygonArea( intStHead, unitDisplay, Mech.LOC_HEAD); areas[INT_STRUCTURE_OFFSET + Mech.LOC_CT] = new PMSimplePolygonArea( inStCentralTorso, unitDisplay, Mech.LOC_CT); areas[INT_STRUCTURE_OFFSET + Mech.LOC_RT] = new PMSimplePolygonArea( inStRightTorso, unitDisplay, Mech.LOC_RT); areas[INT_STRUCTURE_OFFSET + Mech.LOC_LT] = new PMSimplePolygonArea(
private void setAreas() { areas[Protomech.LOC_HEAD] = new PMSimplePolygonArea(head, unitDisplay, Protomech.LOC_HEAD); areas[Protomech.LOC_LEG] = new PMSimplePolygonArea(legs, unitDisplay, Protomech.LOC_LEG); areas[Protomech.LOC_LARM] = new PMSimplePolygonArea(leftArm, unitDisplay, Protomech.LOC_LARM); areas[Protomech.LOC_RARM] = new PMSimplePolygonArea(rightArm, unitDisplay, Protomech.LOC_RARM); areas[Protomech.LOC_TORSO] = new PMSimplePolygonArea(torso, unitDisplay, Protomech.LOC_TORSO); areas[Protomech.LOC_MAINGUN] = new PMSimplePolygonArea(mainGun, unitDisplay, Protomech.LOC_MAINGUN);