Class MekDisplayEvent

java.lang.Object
java.util.EventObject
megamek.client.event.MekDisplayEvent
All Implemented Interfaces:
Serializable

public class MekDisplayEvent extends EventObject
Instances of this class are sent as a result of changes in MekDisplay
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • getType

      public int getType()
      Returns the type of event that this is
    • getEntityId

      public int getEntityId()
      Returns:
      the entity ID associated with this event, if applicable; -1 otherwise.
    • getWeaponId

      public int getWeaponId()
      Returns:
      the weapon ID associated with this event, if applicable; -1 otherwise.
    • getEntity

      public Entity getEntity()
      Returns:
      the entity associated with event, or null
    • getEquip

      public Mounted<?> getEquip()
      Returns:
      the equipment associated with the event or null