Package org.rspeer.game.event
Class OverheadMessageEvent
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
ConstructorDescriptionOverheadMessageEvent
(PathingEntity source, String previous, String current) Constructs a prototypical Event. -
Method Summary
Methods inherited from class org.rspeer.event.Event
consume, getSource, isConsumed
Methods inherited from class java.util.EventObject
toString
-
Constructor Details
-
OverheadMessageEvent
Constructs a prototypical Event.- Parameters:
source
- The object on which the Event initially occurred.- Throws:
IllegalArgumentException
- if source is null.
-
-
Method Details
-
getPrevious
- Returns:
- The previous overhead message, or null if none was active at the time
-
getCurrent
- Returns:
- The current overhead message, or null if this event is when an overhead message expires
-