Class Event
- java.lang.Object
-
- org.kikikan.deadbymoonlight.events.Event
-
- Direct Known Subclasses:
EndGameCollapseEvent
,ExitGatesPoweredEvent
,GameFinishedEvent
,GameStartedEvent
,GeneratorCompletedEvent
,GetKillerAlertEvent
,HatchClosedEvent
,HatchSpawnedEvent
,PlayerEvent
,WorldInitEvent
public abstract class Event extends java.lang.Object
Represents a simple Event.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
Game
getGame()
Returns the Game in which this Event was created.int
hashCode()
void
run()
CallsGame.runEvent(Event)
on the Game object of this Event.
-
-
-
Constructor Detail
-
Event
public Event(Game game)
-
-
Method Detail
-
getGame
public final Game getGame()
Returns the Game in which this Event was created.- Returns:
- The instance of the Game
-
run
public final void run()
CallsGame.runEvent(Event)
on the Game object of this Event.
-
equals
public final boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-