Skip to content

mapPicture beta ​

Function of @v12-engine/client/common

ts
export declare function mapPicture(map: GameMap, registry: Registry, options?: PictureOptions): MapPixels;

A map seen from above, as pixels: its ground as the minimap colours it (cellColor), and over it the room buildings and mines take, the starts in their players' colours, the regions and the paths. No engine running and no browser: it runs in Node and in the tests, for npm run map picture and for the pictures of maps in lists