Skip to content

groundSpeedOfCell beta ​

Function of @v12-engine/engine

ts
export declare function groundSpeedOfCell(world: World, x: number, z: number): number;

How fast one on foot goes over a cell of the map, as a multiplier: the tile's speed times the speed of every layer of cells that is not 0 there (its value's style's, FoliageStyleDef.speed, else the layer's speed); 1 where nothing says. Off the map, 1