megamek.common.actions
Class TriggerBPodAction

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

public class TriggerBPodAction
extends AbstractEntityAction

See Also:
Serialized Form

Field Summary
(package private)  int podId
          Save the equipment ID of the Anti-BA Pod being triggered.
(package private)  int targetId
           
 
Constructor Summary
TriggerBPodAction(int entityId, int equipId, int targetId)
          Trigger the indicated AP Pod on the entity with the given entity ID.
 
Method Summary
 int getPodId()
          Get the equipment ID of the AP Pod being triggered.
 int getTargetId()
           
 
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
 

Field Detail

podId

int podId
Save the equipment ID of the Anti-BA Pod being triggered.


targetId

int targetId
Constructor Detail

TriggerBPodAction

public TriggerBPodAction(int entityId,
                         int equipId,
                         int targetId)
Trigger the indicated AP Pod on the entity with the given entity ID.

Parameters:
entityId - the int ID of the triggering entity.
equipId - the int ID of the triggered AP Pod.
Method Detail

getPodId

public int getPodId()
Get the equipment ID of the AP Pod being triggered.

Returns:
the int equipment ID of the AP Pod.

getTargetId

public int getTargetId()