Nocturna
    Preparing search index...

    Class FixedVictoryCondition

    VictoryCondition represents the end-of-level victory trigger in the game.

    • Handles mesh, physics, animation, sound, and particle effects.
    • Implements the GameObject and ParentNodeObserver interfaces.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    mesh: Mesh[] = []
    victoryAggregate: PhysicsAggregate
    Type: string = "fixed_victory_condition"

    Methods

    • Adds a sound effect to the victory object.

      Parameters

      • name: string

        The sound name.

      • sound: StaticSound

        The StaticSound instance.

      Returns void