Skip to content

PlayTo beta ​

TypeAlias of @v12-engine/editor

ts
export type PlayTo = {
    time: number;
} | {
    objective: string;
    status?: 'given' | 'done' | 'failed';
    player?: PlayerId;
} | {
    wave: number;
    player?: PlayerId;
};

A moment of the game played here to run on to (Play to): time, seconds into the game; objective, an objective of a player (the one played, when left out) given, done or failed (status: given when left out); wave, a computer player (any, when left out) having sent so many waves (its brain's { wave } condition: the index of the wave whose turn it is). Plain data, as a mission brain's conditions are