resizeMap beta
Function of @v12-engine/engine
ts
export declare function resizeMap(map: GameMap, sides: MapSides, resizers?: readonly MapResizer[]): GameMap;A map grown or cut on any side: the ground, cliffs, water and paint go on as they were at the old edge where it grows; everything on it moves along, and what is no longer on the map is gone. The map itself is left as it was. What the engine keeps moves (objects, camps, regions, points, paths, doodads, cameras, the players' starts, the bounds, the game's own kinds' things in data); what others keep moves with the resizers given (the client's looks: mapLooksResizer)