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.
Remarks
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.
Manages a stack of
ZSceneinstances, 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.
Remarks