megamek.common.actions
Class JumpJetAttackAction
java.lang.Object
megamek.common.actions.AbstractEntityAction
megamek.common.actions.AbstractAttackAction
megamek.common.actions.PhysicalAttackAction
megamek.common.actions.JumpJetAttackAction
- All Implemented Interfaces:
- java.io.Serializable, AttackAction, EntityAction
public class JumpJetAttackAction
- extends PhysicalAttackAction
The attacker kicks the target.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BOTH
public static final int BOTH
- See Also:
- Constant Field Values
LEFT
public static final int LEFT
- See Also:
- Constant Field Values
RIGHT
public static final int RIGHT
- See Also:
- Constant Field Values
JumpJetAttackAction
public JumpJetAttackAction(int entityId,
int targetId,
int leg)
JumpJetAttackAction
public JumpJetAttackAction(int entityId,
int targetType,
int targetId,
int leg)
getLeg
public int getLeg()
setLeg
public void setLeg(int leg)
getDamageFor
public static int getDamageFor(Entity entity,
int leg)
- Damage that the specified mech does with a JJ attack
toHit
public ToHitData toHit(IGame game)
toHit
public static ToHitData toHit(IGame game,
int attackerId,
Targetable target,
int leg)
- To-hit number for the specified leg to kick