logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Enum HitOutcome

    Result of a single hit applied to a HittableState.

    Namespace: Serenity.Hittable.Domain.Enums
    Assembly: Serenity.Hittable.Domain.dll
    Syntax
    public enum HitOutcome

    Fields

    Name Description
    Damaged

    The hit was applied and the object is still alive (indestructible objects always report this outcome for any positive-or-zero damage).

    Destroyed

    The hit reduced the object's remaining health to zero, destroying it. Reported exactly once, on the hit that causes the transition.

    Ignored

    The hit had no effect because the object was already destroyed.

    In this article
    © 2026 Serenity. All Rights Reserved