@pietal.dev/engine
    Preparing search index...

    Class LifecycleAbstract

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    children: LifecycleProps[] = []

    Lifecycles can have children Lifecycles

    destroy$: Subject<void> = ...

    When Lifecycle Object is destroyed, it emits and closes this subject. Along with destroying his children, which in turn behave the same.

    gameObject?: GameObjectParent

    Parent GameObject is assigned at creation.

    label: string = 'Lifecycle'

    Each Lifecycle Object has label for pixi debugging.

    update$: Subject<number> = ...

    When Lifecycle Object is updated, it emits this subject. Along with updating his children, which in turn behave the same.

    Methods

    • Updates the Lifecycle with actual deltaTime = 1.0 for 60FPS

      Parameters

      • deltaTime: number

      Returns void