Skip to content

1681-engine / index / TransitionContext

Interface: TransitionContext ​

Defined in: src/transitions/Transition.ts:5

What a transition draws with: the stage (tweens, size) and a layer above everything, scenes' HUDs included.

Properties ​

app ​

ts
readonly app: Application;

Defined in: src/transitions/Transition.ts:7


layer ​

ts
readonly layer: Container;

Defined in: src/transitions/Transition.ts:9

Sits over the stage's world and screen layers for the length of the transition, then is destroyed.


stage ​

ts
readonly stage: Stage;

Defined in: src/transitions/Transition.ts:6

Released under the MIT License.