Class HeadbarEvent
java.lang.Object
java.util.EventObject
org.rspeer.event.Event<PathingEntity<?>>
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionHeadbarEvent(PathingEntity<?> source, int id, int width) Constructs a prototypical Event. -
Method Summary
Modifier and TypeMethodDescriptionintgetId()intintgetPercent(jag.oldscape.RSHeadbarQueue provider) intgetWidth()Methods inherited from class org.rspeer.event.Event
consume, getSource, isConsumedMethods inherited from class EventObject
toString
-
Constructor Details
-
HeadbarEvent
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()
-