Skip to content

BriefingProps beta ​

Interface of @v12-engine/client/app

ts
export interface BriefingProps

What a mission's briefing screen is given (MissionDef.briefing): the mission, its words, what it asks, and its picture and voice as files

Members ​

back ​

ts
back: () => void;

Goes back to the campaign's menu; run by the back button and the Escape key

begin ​

ts
begin: () => void;

Starts the mission; run by the begin button and the Enter key

campaign ​

ts
campaign: string;

The id of the campaign the mission is in

mission ​

ts
mission: string;

The id of the mission being briefed

objectives ​

ts
objectives?: readonly string[];

What the mission asks, one line each; none shown when left out

picture ​

ts
picture?: string;

The file of its picture

text ​

ts
text: string;

The briefing's words, shown on the screen

voice ​

ts
voice?: string;

The file of its voice, read out as it opens