Shared logic for evaluating adjacency requirements across different rule domains.
Source: addons/grid_placement/placement/placement_rules/helpers/adjacency_evaluator.gd
Syntax
class AdjacencyEvaluator extends RefCountedMembers
| Name | Kind | Summary |
|---|---|---|
HORIZONTAL_DIRS | Field | Neighbor offsets shared by every adjacency rule, so the rules agree on what "left", "above", or "diagonal" means. |
VERTICAL_DIRS | Field | |
DIAGONAL_DIRS | Field | |
neighbor_dirs | Method | |
count_matching_neighbors_in_dirs | Method | |
count | Property | |
neighbors | Property | |
resolved_terrain_set | Property | |
resolved_terrain | Property | |
resolved | Property | |
tile_data | Property |