|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmegamek.common.actions.AbstractEntityAction
megamek.common.actions.AbstractAttackAction
megamek.common.actions.PhysicalAttackAction
megamek.common.actions.GrappleAttackAction
public class GrappleAttackAction
The attacker grapples the target.
| Constructor Summary | |
|---|---|
GrappleAttackAction(int entityId,
int targetId)
|
|
GrappleAttackAction(int entityId,
int targetType,
int targetId)
|
|
| Method Summary | |
|---|---|
ToHitData |
toHit(IGame game)
|
static ToHitData |
toHit(IGame game,
int attackerId,
Targetable target)
To-hit number |
static ToHitData |
toHit(IGame game,
int attackerId,
Targetable target,
int grappleSide)
|
| Methods inherited from class megamek.common.actions.PhysicalAttackAction |
|---|
setCommonModifiers, toHitIsImpossible |
| Methods inherited from class megamek.common.actions.AbstractAttackAction |
|---|
getEntity, getTarget, getTargetId, getTargetType, nightModifiers, setTargetId, setTargetType |
| Methods inherited from class megamek.common.actions.AbstractEntityAction |
|---|
getEntityId, setEntityId |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface megamek.common.actions.EntityAction |
|---|
getEntityId, setEntityId |
| Constructor Detail |
|---|
public GrappleAttackAction(int entityId,
int targetId)
public GrappleAttackAction(int entityId,
int targetType,
int targetId)
| Method Detail |
|---|
public ToHitData toHit(IGame game)
public static ToHitData toHit(IGame game,
int attackerId,
Targetable target)
public static ToHitData toHit(IGame game,
int attackerId,
Targetable target,
int grappleSide)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||