megamek.common.actions
Class TeleMissileAttackAction

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

public class TeleMissileAttackAction
extends AbstractAttackAction

Represents one tele-controlled missile attack

Author:
Ben Mazur
See Also:
Serialized Form

Constructor Summary
TeleMissileAttackAction(Entity attacker, Targetable target)
           
 
Method Summary
static int getDamageFor(Entity entity)
           
 ToHitData toHit(IGame game)
          To-hit number for a charge, assuming that movement has been handled
 ToHitData toHit(IGame game, 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

TeleMissileAttackAction

public TeleMissileAttackAction(Entity attacker,
                               Targetable target)
Method Detail

getDamageFor

public static int getDamageFor(Entity entity)

toHit

public ToHitData toHit(IGame game)
To-hit number for a charge, assuming that movement has been handled


toHit

public ToHitData toHit(IGame game,
                       Targetable target)