indicator_manager_tree_integration_test

AUTO-GENERATED FILE – DO NOT EDIT MANUALLY

Indicator Manager Tree Integration Test Tests that indicators are properly parented and integrated into the scene tree when created by the IndicatorManager, ensuring they exist in the correct hierarchy and are accessible for manipulation and rendering

Source File: /addons/grid_building/test/integration/system_interactions/indicator_manager_tree_integration_test.gd

Extends: GdUnitTestSuite

Properties

  • Property: indicator_manager: [IndicatorManager](./indicator-manager/)
  • Property: targeting_state: [GridTargetingState](./grid-targeting-state/)
  • Property: positioner: Node2D
  • Property: tile_map: TileMapLayer
  • Property: manipulation_parent: Node2D

Private Properties

  • Property: _container: [GBCompositionContainer](./gb-composition-container/) (private)
  • Property: _injector: [GBInjectorSystem](./gb-injector-system/) (private)

Public Methods

before_test

1
before_test() -> void

test_indicators_are_parented_and_inside_tree

1
test_indicators_are_parented_and_inside_tree() -> void

Private Methods

_setup_targeting_state_for_tests

1
_setup_targeting_state_for_tests() -> void

Flags: private

Sets up the GridTargetingState with a default target for indicator tests


_create_preview_with_collision

1
_create_preview_with_collision() -> Node2D

Flags: private



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