Class OverheadMessageEvent

All Implemented Interfaces:
Serializable

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

    • OverheadMessageEvent

      public OverheadMessageEvent(PathingEntity source, String previous, String current)
      Constructs a prototypical Event.
      Parameters:
      source - The object on which the Event initially occurred.
      Throws:
      IllegalArgumentException - if source is null.
  • Method Details

    • getPrevious

      public String getPrevious()
      Returns:
      The previous overhead message, or null if none was active at the time
    • getCurrent

      public String getCurrent()
      Returns:
      The current overhead message, or null if this event is when an overhead message expires