Class HeadbarEvent

java.lang.Object
java.util.EventObject
org.rspeer.event.Event<PathingEntity<?>>
org.rspeer.game.event.GameEvent<PathingEntity<?>>
org.rspeer.game.event.HeadbarEvent
All Implemented Interfaces:
Serializable

public class HeadbarEvent extends GameEvent<PathingEntity<?>>
See Also:
  • Constructor Details

    • HeadbarEvent

      public HeadbarEvent(PathingEntity<?> source, int id, int width)
      Constructs a prototypical Event.
      Parameters:
      source - The object on which the Event initially occurred.
      Throws:
      IllegalArgumentException - if source is null.
  • Method Details

    • getId

      public int getId()
    • getWidth

      public int getWidth()
    • getPercent

      public int getPercent(jag.oldscape.RSHeadbarQueue provider)
    • getPercent

      public int getPercent()