zimporter-phaser - v1.0.48
    Preparing search index...

    Class ZSceneStack

    Manages a stack of ZScene instances, providing static methods to manipulate the stack.

    This class allows pushing, popping, peeking, and clearing scenes from the stack. It also provides utility methods to spawn entities from the topmost scene and resize all scenes in the stack.

    • The stack is implemented as a static array, so all operations affect the global stack.
    • The stack size and top index are tracked separately for efficient access.
    Index

    Constructors

    Methods

    • Parameters

      • width: number
      • height: number

      Returns void