Class OnThunderEventEvent

java.lang.Object
com.avrix.events.Event
com.avrix.events.OnThunderEventEvent

public abstract class OnThunderEventEvent extends Event
Triggered when a thunderstorm is about to start.
  • Constructor Details

    • OnThunderEventEvent

      public OnThunderEventEvent()
  • Method Details

    • getEventName

      public String getEventName()
      Getting the event name
      Specified by:
      getEventName in class Event
      Returns:
      name of the event being implemented
    • handleEvent

      public abstract void handleEvent(Integer x, Integer y, Boolean strike, Boolean light, Boolean rumble)
      Called Event Handling Method
      Parameters:
      x - The x coordinate where the thunder event is going to take place.
      y - The y coordinate where the thunder event is going to take place.
      strike - Whether the thunder event will strike.
      light - Whether the thunder event will emit light.
      rumble - Whether the thunder event will rumble.