Interface IPointRule
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
simulationSimulationcandidateVec2acceptedVec2