megamek.common.actions
Class LayExplosivesAttackAction
java.lang.Object
megamek.common.actions.AbstractEntityAction
megamek.common.actions.AbstractAttackAction
megamek.common.actions.LayExplosivesAttackAction
- All Implemented Interfaces:
- java.io.Serializable, AttackAction, EntityAction
public class LayExplosivesAttackAction
- extends AbstractAttackAction
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LayExplosivesAttackAction
public LayExplosivesAttackAction(int entityId,
int targetId)
LayExplosivesAttackAction
public LayExplosivesAttackAction(int entityId,
int targetType,
int targetId)
getDamageFor
public static int getDamageFor(Entity entity)
- Damage that the specified platoon does with explosives
toHit
public ToHitData toHit(IGame game)
toHit
public static ToHitData toHit(IGame game,
int attackerId,
Targetable target)
- To-hit number, i.e. is the action possible