Search Results for

    Show / Hide Table of Contents

    Class HitBoxEventProcessor<T>

    Handles events related to HitBox and HurtBox interactions.

    Inheritance
    System.Object
    HitBoxEventProcessor<T>
    Namespace: CatchIo.Runtime.Combat.HitBoxes
    Assembly: cs.temp.dll.dll
    Syntax
    public class HitBoxEventProcessor<T>
        where T : HurtBox
    Type Parameters
    Name Description
    T

    Properties

    DetectedHurtBoxCount

    Declaration
    public int DetectedHurtBoxCount { get; }
    Property Value
    Type Description
    System.Int32

    Methods

    ProcessEvents(T)

    Declaration
    public void ProcessEvents(T detectedHurtBox)
    Parameters
    Type Name Description
    T detectedHurtBox

    ProcessEvents(IEnumerable<T>)

    Processes detected HurtBoxes and triggers the appropriate events.

    Declaration
    public void ProcessEvents(IEnumerable<T> detectedHurtBoxes)
    Parameters
    Type Name Description
    System.Collections.Generic.IEnumerable<T> detectedHurtBoxes

    Events

    HurtBoxEntered

    Event triggered when a HurtBox enters the HitBox's detection range.

    Declaration
    public event Action<T> HurtBoxEntered
    Event Type
    Type Description
    System.Action<T>

    HurtBoxExited

    Event triggered when a HurtBox exits the HitBox's detection range.

    Declaration
    public event Action<T> HurtBoxExited
    Event Type
    Type Description
    System.Action<T>

    HurtBoxStayed

    Event triggered when a HurtBox stays within the HitBox's detection range.

    Declaration
    public event Action<T> HurtBoxStayed
    Event Type
    Type Description
    System.Action<T>
    In This Article
    Back to top ©Team STEP, All Rights Reserved.