Skip to content

EditorStatistics beta ​

Class of @v12-engine/editor

ts
export declare class EditorStatistics

What is on the map, counted (campaign plan EQ7): each player's units, buildings and supply, the resources in reach of each start, the shares of the ground walked and built on (mapStatistics), and the triangles drawn against the quality's budget; select selects what a count counts. What the Statistics panel shows, in code

A part of the editor, as it gives it (editor.statistics)

The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the EditorStatistics class.

Members ​

map ​

ts
map(): MapStatistics;

The map counted as it is now: worked out at each call, the ground walked once

select ​

ts
select(things: readonly Named[], look?: boolean): void;

Selects these, alone, with the select tool, and looks at the first of them (unless look is false); says how many

triangles ​

ts
triangles(): TriangleStatistics;

The triangles of the frame drawn last, against the game's budget at each preset