Skip to content

mapDiffPicture beta ​

Function of @v12-engine/client

ts
export declare function mapDiffPicture(before: GameMap, after: GameMap, registry: Registry, options?: PictureOptions): MapPixels;

Two maps of the same size, as a picture of the second with what changed marked: the ground that is different, in magenta, and what was put down or taken away, in green and red. For a map changed in a pull request