Chris' Tutorials
Docs/Grid Placement

Class

IndicatorSetupUtils

Generated GDScript class reference for GridPlacement.IndicatorSetupUtils.

StatusDraft
Versionv6.0
UpdatedDevelopment docs generated from GDScript source

This is unreleased documentation in active development. APIs, class names, and behavior may change before the final release.

Draft — Unreleased:This page is in active development. APIs, class names, and behavior may change before the release is finalized. Use it as a preview of what's coming — not as a stable integration target.

IndicatorSetupUtils

  • Static utility functions for indicator setup operations. This class provides static utility functions for complex indicator setup logic that has been extracted from IndicatorService2D for better testability. All functions are static and do not depend on instance state, making them suitable for unit testing. Key Features:
  • Static functions for collision test setup building
  • Testing indicator creation and management
  • Indicator count calculation without side effects
  • Tile-based positioning using tile map layers

Source: addons/grid_placement/placement/manager/components/indicator_setup_utils.gd

Syntax

class IndicatorSetupUtils extends RefCounted

Members

NameKindSummary
create_testing_indicatorMethod
testing_indicatorProperty
calculate_indicator_countMethod
owner_shapesProperty
indicator_test_setupsProperty
setups_arrayProperty
testing_indicatorProperty
position_rules_mapProperty
setup_collision_mapperMethod
gather_collision_shapesMethod
build_collision_test_setupsMethod
resultProperty
setupProperty
build_collision_test_setups_with_factoryMethod
extract_valid_test_setupsMethod
valid_setupsProperty
map_positions_to_rulesMethod
execute_indicator_setupMethod
resultProperty
validation_issuesProperty
owner_shapesProperty
should_free_testing_indicatorProperty
test_setupsProperty
setups_arrayProperty
position_rules_mapProperty
normalized_mapProperty
map_layerProperty
positioner_tileProperty
rel_offProperty
indicatorsProperty
validate_indicator_positionsMethod
resultProperty
indicatorProperty
expected_tile_posProperty
actual_tile_posProperty
validate_setup_preconditionsMethod
issuesProperty
indicatorsPropertyResult class for indicator setup operations
owner_shapesProperty
position_rules_mapProperty
test_setupsProperty
issuesProperty
has_issuesMethod
is_successfulMethod
is_validPropertyResult class for position validation operations
size_mismatchProperty
expected_countProperty
actual_countProperty
position_mismatchesProperty
get_mismatch_summaryMethod

Source

addons/grid_placement/placement/manager/components/indicator_setup_utils.gd

Plugin docs root:gdscript/plugins/grid_placement_dev/docs