Skip to content

nearestDryGround beta ​

Function of @v12-engine/engine

ts
nearestDryGround: (ctx: GeneratorContext, at: Vec2, reach: number) => Vec2

The nearest place to one that is not in the water, at a cell's middle: for a pass of a game's own that puts something down where the ground may be wet