Class SurvivorLeftEvent
- java.lang.Object
-
- org.kikikan.deadbymoonlight.events.Event
-
- org.kikikan.deadbymoonlight.events.player.PlayerEvent
-
- org.kikikan.deadbymoonlight.events.player.survivor.SurvivorLeftEvent
-
public final class SurvivorLeftEvent extends PlayerEvent
Called whenever a Survivor leaves the Trial. Contains the reason why they left.
-
-
Constructor Summary
Constructors Constructor Description SurvivorLeftEvent(Survivor survivor, LeaveReason reason)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LeaveReason
getReason()
Gets the reason why the Survivor left the Trial.-
Methods inherited from class org.kikikan.deadbymoonlight.events.player.PlayerEvent
getPerkUser
-
-
-
-
Constructor Detail
-
SurvivorLeftEvent
public SurvivorLeftEvent(Survivor survivor, LeaveReason reason)
-
-
Method Detail
-
getReason
public LeaveReason getReason()
Gets the reason why the Survivor left the Trial.- Returns:
- The reason why the Survivor left the Trial.
-
-