megamek.common.actions
Class BreakGrappleAttackAction
java.lang.Object
megamek.common.actions.AbstractEntityAction
megamek.common.actions.AbstractAttackAction
megamek.common.actions.PhysicalAttackAction
megamek.common.actions.BreakGrappleAttackAction
- All Implemented Interfaces:
- java.io.Serializable, AttackAction, EntityAction
public class BreakGrappleAttackAction
- extends PhysicalAttackAction
The attacker grapples the target.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BreakGrappleAttackAction
public BreakGrappleAttackAction(int entityId,
int targetId)
BreakGrappleAttackAction
public BreakGrappleAttackAction(int entityId,
int targetType,
int targetId)
toHit
public ToHitData toHit(IGame game)
- Generates the to hit data for this action.
- Parameters:
game - the game.
- Returns:
- the to hit data object for this action.
- See Also:
toHit(IGame, int, Targetable)
toHit
public static ToHitData toHit(IGame game,
int attackerId,
Targetable target)
- To-hit number