Skip to content

MapObjective beta ​

Interface of @v12-engine/engine

ts
export interface MapObjective extends ObjectiveDef

An objective a map gives, as it keeps it: an objective (ObjectiveDef: its id, its words, whether the mission needs it, more about it) and when it is given

Members ​

at ​

ts
at: 'start' | 'rule';

When it is given: as the game starts (start), to every player a person plays (mapObjectivePlayers), or when the rules say (rule: giveMapObjective(world, id)). Anything but rule is the start