Scripting / Interactables
IObstacle
Tags an object as a physical blocker. IPushable.Validate() uses this to detect blockers in the target cell, and movement instructions use it to determine valid player positions. A closed door returns true; once opened it returns false.
Methods
| Method | Returns | Description |
|---|---|---|
Validate() | bool | Return true if the obstacle is currently active and blocking. Return false if passable (e.g. an open door). Static solid objects always return true. |