Package megamek.common.actions
Class PhysicalAttackAction
java.lang.Object
megamek.common.actions.AbstractEntityAction
megamek.common.actions.AbstractAttackAction
megamek.common.actions.PhysicalAttackAction
- All Implemented Interfaces:
Serializable,AttackAction,EntityAction
- Direct Known Subclasses:
BreakGrappleAttackAction,ClubAttackAction,GrappleAttackAction,JumpJetAttackAction,KickAttackAction,PunchAttackAction,TripAttackAction
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPhysicalAttackAction(int entityId, int targetId) PhysicalAttackAction(int entityId, int targetType, int targetId) -
Method Summary
Modifier and TypeMethodDescriptionprotected static booleanisConvertedQuadVee(Targetable target, Game game) protected static voidsetCommonModifiers(ToHitData toHit, Game game, Entity ae, Targetable target) protected static StringtoHitIsImpossible(Game game, Entity ae, Targetable target) Common checking whether is it possible to physically attack the targetMethods inherited from class megamek.common.actions.AbstractAttackAction
getEntity, getEntity, getTarget, getTargetId, getTargetType, nightModifiers, setTargetId, setTargetType, toAccessibilityDescription, toStringMethods inherited from class megamek.common.actions.AbstractEntityAction
getEntityIdMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface megamek.common.actions.EntityAction
getEntityId, toSummaryString
-
Constructor Details
-
PhysicalAttackAction
public PhysicalAttackAction(int entityId, int targetId) -
PhysicalAttackAction
public PhysicalAttackAction(int entityId, int targetType, int targetId)
-
-
Method Details