MapReport beta
Interface of @v12-engine/engine
ts
export interface MapReportWhat a map is like to play on, measured (see measureMap)
Members
game
ts
game: GameMeasure[];The numbers the game measures of its own (MapEditorDef.measure)
narrowest
ts
narrowest?: {
width: number;
at: Vec2;
};The narrowest place on the ways between the starts, and how wide it is
rushes
ts
rushes: {
from: PlayerId;
to: PlayerId;
length?: number;
points?: Vec2[];
}[];The way on foot between every two starts: how far a rush goes. Nothing for starts cut off from each other
starts
ts
starts: StartMeasure[];The measure of every player's start
unfair
ts
unfair: string[];What each start has that another has more than FAIR_MARGIN more of: what is not fair