megamek.common
Class Warship

java.lang.Object
  extended by megamek.common.TurnOrdered
      extended by megamek.common.Entity
          extended by megamek.common.Aero
              extended by megamek.common.Jumpship
                  extended by megamek.common.Warship
All Implemented Interfaces:
java.io.Serializable, RoundUpdated, Targetable, Transporter

public class Warship
extends Jumpship

Author:
Jay Lawson
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class megamek.common.Entity
Entity.EntityFluff
 
Field Summary
static int LOC_AFT
           
static int LOC_ALS
           
static int LOC_ARS
           
static int LOC_FLS
           
static int LOC_FRS
           
static int LOC_LBS
           
static int LOC_NOSE
           
static int LOC_RBS
           
 
Fields inherited from class megamek.common.Jumpship
hasLF
 
Fields inherited from class megamek.common.Aero
ALT_BOMB_ATTACK, COCKPIT_COMMAND_CONSOLE, COCKPIT_SHORT_STRING, COCKPIT_SMALL, COCKPIT_STANDARD, COCKPIT_STRING, CRIT_AVIONICS, CRIT_BOMB, CRIT_CARGO, CRIT_CIC, CRIT_CONTROL, CRIT_CREW, CRIT_DOCK_COLLAR, CRIT_DOOR, CRIT_ENGINE, CRIT_FCS, CRIT_FUEL_TANK, CRIT_GEAR, CRIT_GRAV_DECK, CRIT_HEATSINK, CRIT_KF_BOOM, CRIT_KF_DRIVE, CRIT_LEFT_THRUSTER, CRIT_LIFE_SUPPORT, CRIT_NONE, CRIT_RIGHT_THRUSTER, CRIT_SENSOR, CRIT_WEAPON, CRIT_WEAPON_BROAD, critThresh, DIVE_BOMB_ATTACK, HEAT_DOUBLE, HEAT_SINGLE, LOC_LWING, LOC_RWING, LOC_WINGS, RAM_AWAY_DIR, RAM_AWAY_OBL, RAM_TOWARD_DIR, RAM_TOWARD_OBL, SPACE_BOMB_ATTACK, vstol, weaponGroups
 
Fields inherited from class megamek.common.Entity
_isEMId, altitude, ammoList, armorTechLevel, armorType, armsFlipped, aTracker, battleForceDebugString, BATTLEFORCEEXTREMERANGE, BATTLEFORCELONGRANGE, BATTLEFORCEMEDIUMRANGE, battleForceMinRangeModifier, BATTLEFORCESHORTRANGE, battleForceToHitModifier, bombList, bvText, c3CompanyMasterIndex, c3Master, c3NetIdString, canUnstickByJumping, carcass, chassis, crew, crits, damageThisPhase, damageThisRound, DEBUGBATTLEFORCE, delta_distance, designValid, destroyed, displacementAttack, displayName, dodging, done, doomed, duplicateMarker, elevation, endColumn, endRow, endTable, engine, engineHitsThisRound, equipmentList, externalId, facing, failedEquipmentList, findingClub, fluff, game, gotPavementBonus, GRAPPLE_BOTH, GRAPPLE_LEFT, GRAPPLE_RIGHT, hasSpotlight, heat, heatBuildup, heatFromExternal, heatSinkCoolantFailureFactor, hitThisRoundByAntiTSM, hullDown, id, illuminated, iNarcPods, infernos, inReverse, isCarefulStanding, isHidden, jumpMP, killerId, lastTarget, layingMines, LOC_DESTROYED, LOC_NONE, m_lNarcedBy, m_lPendingNarc, MAX_C3_NODES, miscList, mixedTech, model, moved, movementMode, mpUsed, mpUsedLastRound, narcPods, nl, NONE, omni, owner, ownerId, pendingINarcPods, pendingNarcPods, position, prone, reckless, rolledForEngineExplosion, sec_facing, secondaryPositions, shortName, shutDown, shutdownByBATaser, shutDownThisPhase, source, spotlightIsActive, spotting, startColumn, startRow, startTable, structureType, stuckInSwamp, taggedBy, taserFeedBackRounds, taserInterference, taserInterferenceRounds, taserShutdownRounds, techLevel, tmTracker, totalWeaponList, unjammingRAC, usedSearchlight, vectors, walkMP, weaponBayList, weaponGroupList, weaponList, weight, year
 
Fields inherited from interface megamek.common.Targetable
TYPE_BLDG_IGNITE, TYPE_BUILDING, TYPE_ENTITY, TYPE_FLARE_DELIVER, TYPE_FUEL_TANK, TYPE_FUEL_TANK_IGNITE, TYPE_HEX_AERO_BOMB, TYPE_HEX_ARTILLERY, TYPE_HEX_BOMB, TYPE_HEX_CLEAR, TYPE_HEX_EXTINGUISH, TYPE_HEX_IGNITE, TYPE_HEX_SCREEN, TYPE_INARC_POD, TYPE_MINEFIELD_CLEAR, TYPE_MINEFIELD_DELIVER, TYPE_SEARCHLIGHT
 
Constructor Summary
Warship()
           
 
Method Summary
 void addStandardDamage(int damage, HitData hit)
           
 void autoSetThresh()
           
 boolean canJump()
           
 int getAdjacentArcCCW(int arc)
          find the adjacent firing arc on this vessel counter-clockwise
 int getAdjacentArcCW(int arc)
          find the adjacent firing arc on this vessel clockwise
 double getBVTypeModifier()
           
 double getCost(boolean ignoreAmmo)
          There is a mistake in some of the AT2r costs for some reason they added ammo twice for a lot of the level 2 designs, leading to costs that are too high
 int getECMRange()
          What's the range of the ECM equipment?
 int getKFIntegrity()
           
 java.lang.String[] getLocationAbbrs()
           
 java.lang.String[] getLocationNames()
           
 int getSailIntegrity()
           
 int getStandardDamage(int loc)
           
 int getThresh(int loc)
           
 int getWeaponArc(int wn)
          Returns the Compute.ARC that the weapon fires into.
 boolean hasActiveECM()
          All warships automatically have ECM if in space
 void initializeKFIntegrity()
           
 void initializeSailIntegrity()
           
 void initializeThresh(int loc)
           
 int locations()
          Returns the number of locations in the entity
 void resetStandardDamage()
           
 void setKFIntegrity(int kf)
           
 void setSailIntegrity(int sail)
           
 void setThresh(int val, int loc)
           
 
Methods inherited from class megamek.common.Jumpship
calculateBattleValue, doomedInAtmosphere, doomedInSpace, doomedOnGround, getAccumulatedThrust, getArcswGuns, getArmorWeight, getEscapePods, getFuelPerTon, getGravDeck, getGravDeckHuge, getGravDeckLarge, getHQIniBonus, getLifeBoats, getMaxEngineHits, getNCrew, getNPassenger, getOppositeLocation, getRunMP, getStationKeepingThrust, getTotalGravDeck, hasHPG, hasLF, hasWeaponInArc, isCrewProtected, loadWeapon, newRound, rollHitLocation, setAccumulatedThrust, setEngine, setEscapePods, setGravDeck, setGravDeckHuge, setGravDeckLarge, setHPG, setLF, setLifeBoats, setNCrew, setNPassenger
 
Methods inherited from class megamek.common.Aero
addClanCase, addEntityBonuses, addEquipment, applyBombs, areWingsHit, autoSetCapArmor, autoSetFatalThresh, autoSetInternal, autoSetMaxBombPoints, autoSetSI, calculateBattleValue, calculateWalk, canChangeSecondaryFacing, canCharge, canDFA, canGoDown, canGoHullDown, canLoad, canRam, canTakeOffHorizontally, canTakeOffVertically, canUnjamRAC, checkDown, checkHover, checkManeuver, checkRolls, checkStall, checkThrustSI, checkThrustSITotal, checkVelocityDouble, checkVerticalTakeOff, chooseSideRam, clipSecondaryFacing, didAccDecNow, didAccLast, didFailManeuver, doomedInVacuum, get0SI, getAltLoss, getArmorRemainingPercent, getArmorType, getAvionicsHits, getBadCriticals, getBombChoices, getBombPoints, getCap0Armor, getCapArmor, getCICHits, getClusterMods, getCockpitType, getCockpitTypeString, getCockpitTypeString, getCriticalEffect, getCurrentDamage, getCurrentThrust, getCurrentVelocity, getCurrentVelocityActual, getDependentLocation, getECCMBonus, getECCMRoll, getECCMStrength, getECCMTarget, getElevation, getEngineCritHeat, getEngineHits, getFatalThresh, getFCSHits, getForwardArc, getFuel, getFuelUsed, getGravPrimaryThreshold, getGravSecondaryThreshold, getHeatCapacity, getHeatCapacityWithWater, getHeatSinks, getHeatType, getIgnoredCrewHits, getInternalRemainingPercent, getLeftThrustHits, getMaxBombPoints, getMaxElevationChange, getMovementAbbr, getMovementString, getNextVelocity, getNoOfSlots, getPotCrit, getRearArc, getRightThrustHits, getRunMPwithoutMASC, getSensorHits, getSI, getStraightMoves, getSuspensionFactor, getTakeOffLength, getTotalCommGearTons, getTransferLocation, getWalkMP, getWhoFirst, hasArmoredEngine, hasCase, hasLifeSupport, hasModularArmor, hasModularArmor, hasRearArmor, hasRoomForHorizontalTakeOff, height, initializeSI, isGearHit, isHexProhibited, isImmobile, isNuclearHardened, isOutControl, isOutControlTotal, isOutCtrlHeat, isRandomMove, isRepairable, isRolled, isSecondaryArcWeapon, isSpheroid, isValidSecondaryFacing, isVSTOL, land, liftOff, resetAltLoss, restore, rollArcs, rollHitLocation, set0SI, setAccDecNow, setAccLast, setAltLoss, setArmorType, setAvionicsHits, setBombChoices, setCapArmor, setCICHits, setCockpitType, setCritThresh, setCurrentDamage, setCurrentVelocity, setECCMRoll, setEngineHits, setFailedManeuver, setFCSHits, setFuel, setGameOptions, setGearHit, setHeatSinks, setHeatType, setIgnoredCrewHits, setLeftThrustHits, setLifeSupport, setNextVelocity, setOmni, setOutControl, setOutCtrlHeat, setPotCrit, setRandomMove, setRightThrustHits, setRolled, setSensorHits, setSI, setSpheroid, setStraightMoves, setVSTOL, setWhoFirst, setWingsHit, shouldMoveBackHex, sideTableRam, sideTableRam, updateWeaponGroups, useFuel, victoryReport, wasCritThresh
 
Methods inherited from class megamek.common.Entity
absHeight, addBomb, addBomb, addConditionBonuses, addCoolantFailureAmount, addCritical, addCritical, addEquipment, addEquipment, addEquipment, addEquipment, addEquipment, addEquipment, addEquipment, addFailedEquipment, addKill, addPassedThrough, addPilotingModifierForTerrain, addPilotingModifierForTerrain, addPilotingModifierForTerrain, addTargetedBySwarm, addTransporter, addWeaponGroup, applyDamage, applyGravityEffectsOnMP, applySantaAnna, armorStringFor, assignAMS, attachINarcPod, attachNarcPod, baTaserShutdown, C3MasterIs, calcElevation, calcElevation, calculateFreeC3MNodes, calculateFreeC3Nodes, canAssaultDrop, canAssist, canFlee, canFlipArms, canGoDown, canGoUp, canLayMine, canLoad, canSpot, canTransferCriticals, canUnstickByJumping, checkBogDown, checkDislodgeSwarmers, checkGetUp, checkLandingInHeavyWoods, checkLandingOnIce, checkLandingWithDamage, checkMovedTooFast, checkMovementInBuilding, checkRecklessMove, checkRubbleMove, checkRunningWithDamage, checkSideSlip, checkSkid, checkSprintingWithMASC, checkSprintingWithSupercharger, checkUnstall, checkWaterMove, checkWaterMove, chooseSide, clearQuirks, climbMode, countQuirks, countQuirks, countWorkingMisc, damageBayDoor, damageDockCollar, damageDoorRecovery, decodeTransporters, deployOffBoard, destroy, destroyLocation, destroyRetractableBlade, doCheckEngineStallRoll, elevationOccupied, encodeTransporters, entityIsBiped, entityIsQuad, equals, extendBlade, findTargetedDisplacement, fixElevation, generateDisplayName, generateShortName, getActiveSensor, getActiveUMUCount, getActiveVibrobladeHeat, getAllUMUCount, getAltitude, getAmmo, getArmor, getArmor, getArmor, getArmorString, getArmorString, getArmorTechLevel, getArmorWeight, getArmsFlipped, getBAPRange, getBARRating, getBasePilotingRoll, getBasePilotingRoll, getBattleForceArmorPoints, getBattleForceDamageThresholdString, getBattleForceJumpPoints, getBattleForceMovement, getBattleForceMovementPoints, getBattleForceOverHeatValue, getBattleForcePoints, getBattleForceSize, getBattleForceSpecialAbilites, getBattleForceStandardWeaponsDamage, getBattleForceStandardWeaponsDamage, getBattleForceStandardWeaponsDamage, getBattleForceStandardWeaponsDamage, getBattleForceStructurePoints, getBattleForceTotalHeatGeneration, getBayByAmmo, getBayLoadedUnits, getBlueShieldRounds, getBombLoadout, getBombs, getBombs, getBVText, getC3Master, getC3MasterId, getC3NetId, getC3Top, getCargoMpReduction, getChassis, getClubs, getCoolantFailureAmount, getCrew, getCritical, getDamageReductionFromModularArmor, getDeployRound, getDisplacementAttack, getDisplayName, getDocks, getDroppableUnits, getECMStrength, getEmptyCriticals, getEngine, getEquipment, getEquipment, getEquipmentNum, getEquipmentType, getEvasionBonus, getExteriorUnitAt, getExternalId, getExternalUnits, getExtraCommGearTons, getExtremeRangeModifier, getFacing, getFailedEquipment, getFighterBays, getFighterLaunchRate, getFirstBay, getFirstWeapon, getFluff, getGame, getGaveKillCredit, getGhostTargetOverride, getGhostTargetRoll, getGhostTargetRollMoS, getGoodCriticals, getGoodCriticals, getGrappled, getGrappleSide, getGyroType, getHeading, getHeatFiringModifier, getHeatInArc, getHeatMPReduction, getHeight, getHitCriticals, getHittableCriticals, getId, getINarcPodsAttached, getInternal, getInternal, getInternalString, getJumpHeat, getJumpMP, getJumpMP, getJumpMPWithTerrain, getJumpType, getKillNumber, getKills, getLastTarget, getLaunchableFighters, getLaunchableSmallCraft, getLoadedBay, getLoadedFighters, getLoadedSmallCraft, getLoadedUnits, getLocationAbbr, getLocationAbbr, getLocationFromAbbr, getLocationName, getLocationName, getLocationStatus, getLongRangeModifier, getMaxElevationDown, getMDIniBonus, getMediumRangeModifier, getMisc, getModel, getMovementBeforeSkidPSRModifier, getMovementMode, getMovementModeAsBattleForceString, getMovementModeAsString, getNextSensor, getNextWeapon, getNumberOf, getNumberOfCriticals, getNumberOfCriticals, getNumberOfCriticals, getNumberOfCriticals, getNumberOfShields, getOArmor, getOArmor, getOArmor, getOffBoardDirection, getOffBoardDistance, getOInternal, getOInternal, getOriginalJumpMP, getOriginalRunMP, getOriginalSprintMP, getOriginalWalkMP, getOwner, getOwnerId, getPassedThrough, getPickedUpMechWarriors, getPosition, getPriorPosition, getQuirkIniBonus, getQuirkList, getQuirks, getRecoveryTurn, getRemovalCondition, getRetreatedDirection, getRunHeat, getRunMP, getRunMPasString, getRunMPwithoutMASC, getRunningGravityLimit, getSecondaryFacing, getSecondaryPositions, getSensorCheck, getSensorDesc, getSensors, getShortName, getShortNameRaw, getShortRangeModifier, getSmallCraftBays, getSmallCraftLaunchRate, getSource, getSpotTargetId, getSprintHeat, getSprintMP, getSprintMP, getSprintMPasString, getSprintMPwithoutMASC, getSprintMPwithoutMASC, getStandingHeat, getStartingPos, getStealthModifier, getStructureType, getSwarmAttackerId, getSwarmTargetId, getTaggedBy, getTargetedBySwarm, getTargetId, getTargetType, getTaserFeedBackRounds, getTaserInterference, getTaserInterferenceRounds, getTaserShutdownRounds, getTechLevel, getTMTracker, getTotalAmmoOfType, getTotalArmor, getTotalInternal, getTotalMunitionsOfType, getTotalOArmor, getTotalOInternal, getTotalWeaponList, getTransferLocation, getTransportBays, getTransportId, getTransports, getTroopCarryingSpace, getTrooperAtLocation, getUnitNumber, getUnusedString, getVector, getVectors, getVelocity, getVibroClaws, getWalkHeat, getWalkMP, getWeaponBayList, getWeaponGroupList, getWeaponList, getWeapons, getWeaponsAndEquipmentCost, getWeaponsAndEquipmentCost, getWeight, getWeightClass, getWeightClassName, getYear, hasActiveAngelECCM, hasActiveAngelECM, hasActiveBlueShield, hasActiveECCM, hasActiveECM, hasActiveEiCockpit, hasActiveShield, hasActiveShield, hasAimModeTargComp, hasArcFired, hasArmoredChassis, hasBAP, hasBAP, hasBARArmor, hasBattleArmorHandles, hasC3, hasC3i, hasC3M, hasC3MM, hasC3S, hasCASEII, hasCASEII, hasDisplacementAttack, hasEiCockpit, hasEnvironmentalSealing, hasFunctionalArmAES, hasFunctionalLegAES, hasGhostTargets, hasHipCrit, hasINarcPodsAttached, hasInfernoAmmo, hasLegActuatorCrit, hasLinkedMGA, hasNoDefenseShield, hasPassiveShield, hasPassiveShield, hasShield, hasSpotlight, hasStealth, hasSystem, hasTAG, hasTargComp, hasUMU, hasVibroblades, hasWorkingMisc, hasWorkingMisc, hasWorkingMisc, hasWorkingMisc, hasWorkingSystem, hasWorkingWeapon, hasWorkingWeapon, hasWorkingWeapon, hasWorkingWeapon, hitAllCriticals, illuminateTarget, initializeArmor, initializeInternal, isActive, isActive, isAirborne, isAirborneVTOL, isAssaultDropInProgress, isAttackingThisTurn, isBATaserShutdown, isBoardProhibited, isCanon, isCapitalFighter, isCapitalScale, isCaptured, isCarcass, isCarefulStand, isChameleonShieldActive, isCharging, isClan, isClanArmor, isClearingMinefield, isCommander, isDeployed, isDesignValid, isDestroyed, isDone, isDoomed, isDropping, isElevationValid, isEligibleFor, isEligibleForFiring, isEligibleForMovement, isEligibleForOffboard, isEligibleForPhysical, isEligibleForTargetingPhase, isEnemyOf, isEvading, isFighter, isFindingClub, isGrappleAttacker, isHidden, isHullDown, isIlluminated, isINarcedBy, isINarcedWith, isLargeCraft, isLayingMines, isLoadableThisTurn, isLocationBad, isLocationDoomed, isMakingDfa, isMilitary, isMixedTech, isNarcedBy, isNOE, isNullSigActive, isOffBoard, isOmni, isOnSameSheet, isPartOfFighterSquadron, isProne, isPushing, isRamming, isReckless, isSalvage, isSeenByEnemy, isSelectableThisTurn, isShutDown, isShutDownThisPhase, isSpotting, isStalled, isStealthActive, isStealthOn, isStuck, isSufferingEMI, isSurfaceNaval, isSystemRepairable, isTargetable, isTargetOfDisplacementAttack, isUnjammingRAC, isUnloadedThisTurn, isUsingManAce, isUsingSpotlight, isVisibleToEnemy, isVoidSigActive, isWeaponBlockedAt, itemOppositeTech, load, load, loadAllWeapons, loadedUnitsHaveActiveECM, loadWeapon, loadWeaponWithSameAmmo, loadWeaponWithSameAmmo, locationHasCase, locationIsLeg, needsRollToStand, onSameC3NetworkAs, onSameC3NetworkAs, passedThrough, passedThroughPrevious, passedWithin, pickUp, printDebugToFile, recover, refreshLocations, reloadEmptyWeapons, removeAllINarcPods, removeAllTransporters, removeCriticals, removeINarcPod, removeMisc, removePartialCoverHits, resetBayDoors, resetFiringArcs, rollMovementInBuilding, setAltitude, setArcFired, setArmor, setArmor, setArmor, setArmorTechLevel, setArmorType, setArmsFlipped, setAssaultDropInProgress, setBATaserShutdown, setC3Master, setC3Master, setC3NetId, setCanon, setCanUnstickByJumping, setCaptured, setCarcass, setCarefulStand, setChassis, setClearingMinefield, setClimbMode, setCommander, setCrew, setCritical, setDeployed, setDeployRound, setDesignValid, setDestroyed, setDisplacementAttack, setDone, setDoomed, setElevation, setEMI, setEvading, setExternalId, setFacing, setFindingClub, setGame, setGrappled, setGrappleSide, setHidden, setHullDown, setId, setIlluminated, setInternal, setInternal, setLandedAssaultDrop, setLastTarget, setLayingMines, setLocationStatus, setMixedTech, setModel, setMovementMode, setNextSensor, setOffBoard, setOriginalJumpMP, setOriginalWalkMP, setOwner, setPassedThrough, setPosition, setProne, setQuirks, setRamming, setRapidFire, setReckless, setRecoveryTurn, setRemovalCondition, setRetreatedDirection, setSalvage, setSecondaryFacing, setSeenByEnemy, setShutDown, setShutDownThisPhase, setSource, setSpotlight, setSpotlightState, setSpotTargetId, setSpotting, setStartingPos, setStructureType, setStructureType, setStuck, setSwarmAttackerId, setSwarmTargetId, setTaggedBy, setTaserFeedback, setTaserInterference, setTaserShutdownRounds, setTechLevel, setTransportId, setUnitNumber, setUnjammingRAC, setUnloaded, setUsedSearchlight, setVectors, setVisibleToEnemy, setWeaponHit, setWeight, setYear, shouldDeploy, sideTable, sideTable, sideTable, statusToString, statusToString, statusToString, toString, unload, updateBays, usedSearchlight, usedTag, usesWeaponBays, weaponFiredFrom, whichBay
 
Methods inherited from class megamek.common.TurnOrdered
clearInitiative, generateTurnOrder, getAeroTurns, getDropshipTurns, getEvenTurns, getInitiative, getJumpshipTurns, getMultiTurns, getNormalTurns, getOtherTurns, getSmallCraftTurns, getSpaceStationTurns, getWarshipTurns, incrementAeroTurns, incrementDropshipTurns, incrementEvenTurns, incrementJumpshipTurns, incrementMultiTurns, incrementOtherTurns, incrementSmallCraftTurns, incrementSpaceStationTurns, incrementWarshipTurns, resetAeroTurns, resetDropshipTurns, resetEvenTurns, resetJumpshipTurns, resetMultiTurns, resetOtherTurns, resetSmallCraftTurns, resetSpaceStationTurns, resetWarshipTurns, rollInitAndResolveTies, rollInitiative
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

LOC_NOSE

public static final int LOC_NOSE
See Also:
Constant Field Values

LOC_FLS

public static final int LOC_FLS
See Also:
Constant Field Values

LOC_FRS

public static final int LOC_FRS
See Also:
Constant Field Values

LOC_AFT

public static final int LOC_AFT
See Also:
Constant Field Values

LOC_ALS

public static final int LOC_ALS
See Also:
Constant Field Values

LOC_ARS

public static final int LOC_ARS
See Also:
Constant Field Values

LOC_LBS

public static final int LOC_LBS
See Also:
Constant Field Values

LOC_RBS

public static final int LOC_RBS
See Also:
Constant Field Values
Constructor Detail

Warship

public Warship()
Method Detail

getLocationAbbrs

public java.lang.String[] getLocationAbbrs()
Overrides:
getLocationAbbrs in class Jumpship

getLocationNames

public java.lang.String[] getLocationNames()
Overrides:
getLocationNames in class Jumpship

locations

public int locations()
Description copied from class: Aero
Returns the number of locations in the entity

Overrides:
locations in class Jumpship

setThresh

public void setThresh(int val,
                      int loc)
Overrides:
setThresh in class Jumpship

getThresh

public int getThresh(int loc)
Overrides:
getThresh in class Jumpship

autoSetThresh

public void autoSetThresh()
Overrides:
autoSetThresh in class Jumpship

setKFIntegrity

public void setKFIntegrity(int kf)
Overrides:
setKFIntegrity in class Jumpship

getKFIntegrity

public int getKFIntegrity()
Overrides:
getKFIntegrity in class Jumpship

setSailIntegrity

public void setSailIntegrity(int sail)
Overrides:
setSailIntegrity in class Jumpship

getSailIntegrity

public int getSailIntegrity()
Overrides:
getSailIntegrity in class Jumpship

initializeSailIntegrity

public void initializeSailIntegrity()
Overrides:
initializeSailIntegrity in class Jumpship

initializeKFIntegrity

public void initializeKFIntegrity()
Overrides:
initializeKFIntegrity in class Jumpship

canJump

public boolean canJump()
Overrides:
canJump in class Jumpship

initializeThresh

public void initializeThresh(int loc)
Overrides:
initializeThresh in class Jumpship

getStandardDamage

public int getStandardDamage(int loc)
Overrides:
getStandardDamage in class Jumpship

resetStandardDamage

public void resetStandardDamage()
Overrides:
resetStandardDamage in class Jumpship

addStandardDamage

public void addStandardDamage(int damage,
                              HitData hit)
Overrides:
addStandardDamage in class Jumpship

getWeaponArc

public int getWeaponArc(int wn)
Description copied from class: Aero
Returns the Compute.ARC that the weapon fires into.

Overrides:
getWeaponArc in class Jumpship

getCost

public double getCost(boolean ignoreAmmo)
Description copied from class: Aero
There is a mistake in some of the AT2r costs for some reason they added ammo twice for a lot of the level 2 designs, leading to costs that are too high

Overrides:
getCost in class Jumpship

hasActiveECM

public boolean hasActiveECM()
All warships automatically have ECM if in space

Overrides:
hasActiveECM in class Jumpship

getECMRange

public int getECMRange()
What's the range of the ECM equipment?

Overrides:
getECMRange in class Jumpship
Returns:
the int range of this unit's ECM. This value will be Entity.NONE if no ECM is active.

getAdjacentArcCW

public int getAdjacentArcCW(int arc)
find the adjacent firing arc on this vessel clockwise

Overrides:
getAdjacentArcCW in class Jumpship

getAdjacentArcCCW

public int getAdjacentArcCCW(int arc)
find the adjacent firing arc on this vessel counter-clockwise

Overrides:
getAdjacentArcCCW in class Jumpship

getBVTypeModifier

public double getBVTypeModifier()
Overrides:
getBVTypeModifier in class Jumpship