megamek.common.actions
Class TriggerAPPodAction

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

public class TriggerAPPodAction
extends AbstractEntityAction

See Also:
Serialized Form

Field Summary
(package private)  int podId
          Save the equipment ID of the AP Pod being triggered.
 
Constructor Summary
TriggerAPPodAction(int entityId, int equipId)
          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.
 
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 AP Pod being triggered.

Constructor Detail

TriggerAPPodAction

public TriggerAPPodAction(int entityId,
                          int equipId)
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.