Grid Placement

TileCheckRule

AUTO-GENERATED FILE — DO NOT EDIT MANUALLY

Source: systems/placement/validators/placement_rules/tile_check_rule.gd

Version: 5.1

class_name: TileCheckRule extends: PlacementRule

Summary

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

Signals

(none)

Exports

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

Methods

  • get_failing_indicators()
    • Runs the rule against an array of indicators Returns the indicators that fail the test
  • get_tile_positions()
    • 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 [param p_map]: The tilemap to check against (typically from PlacementRuleContext.target_map)
  • tear_down()
  • get_editor_issues()
    • Returns an array of issues found during editor validation
  • get_runtime_issues()
    • Returns an array of issues found during runtime validation