StepOptions beta
Interface of @v12-engine/client/testing
export interface StepOptions extends TestStageOptionsHow stepCinematic plays: on a stage of its own (testStage with units and the rest) or one handed in, so many seconds in frames of dt, with what the game would hand it (params), its hooks, and the options of the play (hold, skippable...). entries are the view's cinematics by id, for one played by id or included by another
Members
dt
dt?: number;The length in seconds of each frame the run steps by
entries
entries?: Record<string, CinematicEntry>;The view's cinematics by id, for a cinematic played by id or included by another
hooks
hooks?: CutHooks;The cinematic's hooks (CutHooks): what the game does when it asks to hold, lock the player or hide the HUD
params
params?: Record<string, unknown>;The parameters the game would hand the cinematic when it plays it (CinematicDef.params)
play
play?: PlayOptions;The options of the play: hold, skippable and the rest (PlayOptions)
seconds
seconds?: number;How many seconds of the cinematic's clock to play; the whole run until it ends when left out
stage
stage?: TestStage;A stage to play on, kept across runs; a new testStage made from the other options when left out