Class LosEffects.AttackInfo

java.lang.Object
megamek.common.LosEffects.AttackInfo
Enclosing class:
LosEffects

public static class LosEffects.AttackInfo extends Object
  • Field Details

    • attUnderWater

      public boolean attUnderWater
    • attInWater

      public boolean attInWater
    • attOnLand

      public boolean attOnLand
    • attLowAlt

      public boolean attLowAlt
    • targetUnderWater

      public boolean targetUnderWater
    • targetInWater

      public boolean targetInWater
    • targetOnLand

      public boolean targetOnLand
    • attHoverOnWater

      public boolean attHoverOnWater
      The attacker is a hovercraft riding on the water surface. It counts as "in water" for torpedo depth, but it is above the water for line of sight to a submerged unit (TW p.102).
    • targetHoverOnWater

      public boolean targetHoverOnWater
      The target is a hovercraft riding on the water surface; see attHoverOnWater.
    • targetLowAlt

      public boolean targetLowAlt
    • underWaterCombat

      public boolean underWaterCombat
    • lowAltitude

      public boolean lowAltitude
    • targetEntity

      public boolean targetEntity
    • targetInfantry

      public boolean targetInfantry
    • targetIsMek

      public boolean targetIsMek
    • attackerIsMek

      public boolean attackerIsMek
    • attOffBoard

      public boolean attOffBoard
    • attackPos

      public Coords attackPos
    • targetPos

      public Coords targetPos
    • boardId

      public int boardId
    • attackAbsHeight

      public int attackAbsHeight
      The absolute elevation of the attacker, i.e. the number of levels attacker is placed above a level 0 hex.
    • targetAbsHeight

      public int targetAbsHeight
      The absolute elevation of the target, i.e. the number of levels target is placed above a level 0 hex.
    • attackHeight

      public int attackHeight
      The height of the attacker, that is, how many levels above its elevation it is for LOS purposes.
    • targetHeight

      public int targetHeight
      The height of the target, that is, how many levels above its elevation it is for LOS purposes.
    • attackerId

      public int attackerId
    • targetId

      public int targetId
  • Constructor Details

    • AttackInfo

      public AttackInfo()