Skip to content

TileCheckRule

Base class for rules that check tile properties for placement validation.

fail_visual_settings: IndicatorVisualSettings

Display settings for an indicator to use with an override priority.

indicators: Array[RuleCheckIndicator] = []

List of all indicators that are currently using the rule for evaluation.

get_failing_indicators( p_indicators: Array[RuleCheckIndicator] ) -> Array[RuleCheckIndicator]

Runs the rule against an array of indicators Returns the indicators that fail the test

get_tile_positions( ) -> Array[Vector2i]

Returns the tile locations that the indicators are currently positioned over on the tilemap You can call this after the rules have been setup for the object being manipulated

tear_down( )
get_editor_issues( ) -> Array[String]

Returns an array of issues found during editor validation

get_runtime_issues( ) -> Array[String]

Returns an array of issues found during runtime validation

addons/grid_building/placement/placement_rules/tile_check_rule.gd


This page was auto-generated from GDScript source. Edit the source file to improve documentation.

Generated on 2025-09-07