Interface IPointRule

Namespace
TDMaker.Core.Defs
Assembly
TDMaker.Core.dll

Author-supplied terrain validation; implementations must be deterministic and allocation-free.

public interface IPointRule

Methods

TryResolve(Simulation, Vec2, out Vec2)

Accepts or rejects a candidate using the same logic for preview and command processing.

bool TryResolve(Simulation simulation, Vec2 candidate, out Vec2 accepted)

Parameters

simulation Simulation
candidate Vec2
accepted Vec2

Returns

bool