Package megamek.common
Class LosEffects.AttackInfo
java.lang.Object
megamek.common.LosEffects.AttackInfo
- Enclosing class:
LosEffects
-
Field Summary
FieldsModifier and TypeFieldDescriptionintThe absolute elevation of the attacker, i.e.intbooleanintThe height of the attacker, that is, how many levels above its elevation it is for LOS purposes.booleanThe attacker is a hovercraft riding on the water surface.booleanbooleanbooleanbooleanbooleanintbooleanintThe absolute elevation of the target, i.e.booleanintThe height of the target, that is, how many levels above its elevation it is for LOS purposes.booleanThe target is a hovercraft riding on the water surface; seeattHoverOnWater.intbooleanbooleanbooleanbooleanbooleanbooleanboolean -
Constructor Summary
Constructors -
Method Summary
-
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 attHoverOnWaterThe 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 targetHoverOnWaterThe target is a hovercraft riding on the water surface; seeattHoverOnWater. -
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
-
targetPos
-
boardId
public int boardId -
attackAbsHeight
public int attackAbsHeightThe absolute elevation of the attacker, i.e. the number of levels attacker is placed above a level 0 hex. -
targetAbsHeight
public int targetAbsHeightThe absolute elevation of the target, i.e. the number of levels target is placed above a level 0 hex. -
attackHeight
public int attackHeightThe height of the attacker, that is, how many levels above its elevation it is for LOS purposes. -
targetHeight
public int targetHeightThe 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()
-