Class HealFinishedEvent
- java.lang.Object
-
- org.kikikan.deadbymoonlight.events.Event
-
- org.kikikan.deadbymoonlight.events.player.PlayerEvent
-
- org.kikikan.deadbymoonlight.events.player.survivor.HealFinishedEvent
-
public final class HealFinishedEvent extends PlayerEvent
Called when the Survivor gets healed to 100%. Contains the List of the healing Survivors that were healing the Survivor when the Heal Progress hit 100%, and the Health State prior the healing.
-
-
Constructor Summary
Constructors Constructor Description HealFinishedEvent(Survivor survivor, java.util.HashSet<Survivor> healers, Health healedFrom)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Health
getHealedFrom()
The Health State the Survivor had before the Healing was finished.java.util.ArrayList<Survivor>
getHealers()
A copy of the List of the Survivors who healed the Survivor.boolean
isSelfHeal()
Checks if this heal was a Self-Heal.-
Methods inherited from class org.kikikan.deadbymoonlight.events.player.PlayerEvent
getPerkUser
-
-
-
-
Method Detail
-
isSelfHeal
public boolean isSelfHeal()
Checks if this heal was a Self-Heal.- Returns:
- True if the Survivor healed themselves.
-
getHealers
public java.util.ArrayList<Survivor> getHealers()
A copy of the List of the Survivors who healed the Survivor.- Returns:
- A copy of the List of the Healers.
-
getHealedFrom
public Health getHealedFrom()
The Health State the Survivor had before the Healing was finished.- Returns:
- The previous Health State.
-
-