indicator_positioning_regression_test

AUTO-GENERATED FILE – DO NOT EDIT MANUALLY

Unit test for IndicatorFactory positioning regression

Source File: /addons/grid_building/test/positioning/regression/indicator_positioning_regression_test.gd

Extends: GdUnitTestSuite

Properties

  • Property: container : [GBCompositionContainer](./gb-composition-container/)
  • Property: test_targeting_state: [GridTargetingState](./grid-targeting-state/)
  • Property: test_indicator_template: PackedScene
  • Property: test_parent: Node2D
  • Property: test_tile_map: TileMapLayer
  • Property: test_object: Node2D

Constants

  • Constant: TEST_CONTAINER: [GBCompositionContainer](./gb-composition-container/) = preload("res://addons/grid_building/test/resources/composition_containers/test_composition_container.tres")

Public Methods

before_test

1
before_test() -> void

after_test

1
after_test() -> void

test_indicator_positioning_at_multiple_offsets

1
test_indicator_positioning_at_multiple_offsets() -> void

Test that indicators are positioned correctly at different tile offsets


test_indicators_without_targeting_state_position_at_origin

1
test_indicators_without_targeting_state_position_at_origin() -> void

Test that indicators without targeting state are positioned at (0,0)


test_null_targeting_state_components_handled_gracefully

1
test_null_targeting_state_components_handled_gracefully() -> void

Test that null targeting state components don’t break positioning



Grid Building v5.0.8 | Generated 24/05/2026