Class ProtectionHitEvent


  • public final class ProtectionHitEvent
    extends PlayerEvent
    Called when a Survivor got hit when an Injured Survivor was around, or when the Killer was carrying a Survivor.
    • Constructor Detail

      • ProtectionHitEvent

        public ProtectionHitEvent​(Survivor player,
                                  java.util.ArrayList<Survivor> protectedSurvivors)
    • Method Detail

      • getProtectedSurvivors

        public java.util.ArrayList<Survivor> getProtectedSurvivors()
        Gets a copy of the list of the Survivors who were protected.
        Returns:
        A copy of the list of the Survivors who were protected.