Package com.avrix.events
Class OnThunderEventEvent
java.lang.Object
com.avrix.events.Event
com.avrix.events.OnThunderEventEvent
Triggered when a thunderstorm is about to start.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGetting the event nameabstract void
Called Event Handling Method
-
Constructor Details
-
OnThunderEventEvent
public OnThunderEventEvent()
-
-
Method Details
-
getEventName
Getting the event name- Specified by:
getEventName
in classEvent
- 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.
-