megamek.common.actions
Class ProtomechPhysicalAttackAction

java.lang.Object
  extended by megamek.common.actions.AbstractEntityAction
      extended by megamek.common.actions.AbstractAttackAction
          extended by megamek.common.actions.ProtomechPhysicalAttackAction
All Implemented Interfaces:
java.io.Serializable, AttackAction, EntityAction

public class ProtomechPhysicalAttackAction
extends AbstractAttackAction

The attacking Protomech makes it's combo physical attack action.

See Also:
Serialized Form

Constructor Summary
ProtomechPhysicalAttackAction(int entityId, int targetId)
           
ProtomechPhysicalAttackAction(int entityId, int targetType, int targetId)
           
 
Method Summary
static int getDamageFor(Entity entity)
          Damage a Protomech does with its Combo-physicalattack.
 ToHitData toHit(IGame game)
           
static ToHitData toHit(IGame game, int attackerId, Targetable target)
           
 
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

ProtomechPhysicalAttackAction

public ProtomechPhysicalAttackAction(int entityId,
                                     int targetId)

ProtomechPhysicalAttackAction

public ProtomechPhysicalAttackAction(int entityId,
                                     int targetType,
                                     int targetId)
Method Detail

getDamageFor

public static int getDamageFor(Entity entity)
Damage a Protomech does with its Combo-physicalattack.


toHit

public ToHitData toHit(IGame game)

toHit

public static ToHitData toHit(IGame game,
                              int attackerId,
                              Targetable target)