SceneTransitionProps beta
Interface of @v12-engine/client/app
ts
export interface SceneTransitionPropsWhat a transition of a game's own is given: the two scenes' elements, the new one over the old and shown (hiding it first and moving either is the transition's), and what it calls as it is over, which ends the scene before. What it draws is over both, and goes then
Members
done
ts
done: () => void;Called when the transition is over, which ends the scene before
from
ts
from: HTMLElement;The element of the scene being left, under the new one
to
ts
to: HTMLElement;The element of the scene coming in, shown over the old one