TestStageOptions beta
Interface of @v12-engine/client/testing
export interface TestStageOptionsHow a test's stage is made: its units, the map's views and paths and regions by name, the lanes and eases of the game's, the camera's pose to begin with, and the player it plays as
Members
cinematics
cinematics?: Record<string, CinematicDef>;The game's cinematics as data by id, for one another includes (stage.cinematic)
eases
eases?: Record<string, Ease>;The game's easing curves by name, for keys that name an ease
lanes
lanes?: AnyLane[];The lane kinds the cinematic may use, the game's own on top of the built-in ones
paths
paths?: Record<string, Vec2[]>;The map's paths by name, each a list of points in cells, for lanes that walk or fly a path
player
player?: number;The player the screen is: 1 when left out. The others are its enemies
pose
pose?: CinematicPose;The camera's pose when the test begins
regions
regions?: Record<string, Vec2>;The map's regions by name, each the point (in cells) a lane sends a unit or the camera to
units
units?: TestUnit[];The units on the stage to begin with; none when left out
views
views?: Record<string, CameraPose>;The map's camera views by name (cinematic.camera takes them by that name)
world
world?: CutWorld;The world the waits tied to it read (Stage.world, cutWorldOf): none when left out, and they are taken to have come