target_highlighter_test

AUTO-GENERATED FILE – DO NOT EDIT MANUALLY

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

Extends: GdUnitTestSuite

Properties

  • Property: highlighter: [TargetHighlighter](./target-highlighter/)
  • Property: settings: [HighlightSettings](./highlight-settings/)
  • Property: manipulation_state: [ManipulationState](./manipulation-state/)
  • Property: mode: [ModeState](./mode-state/)
  • Property: targeting_state: [GridTargetingState](./grid-targeting-state/)
  • Property: highlight_target: Node2D
  • Property: data_source_is_target: [ManipulationData](./manipulation-data/)
  • Property: data_source_is_not_target: [ManipulationData](./manipulation-data/)
  • Property: composition_container: [GBCompositionContainer](./gb-composition-container/)

Public Methods

create_test_target_with_manipulatable

1
create_test_target_with_manipulatable() -> Node2D

create_test_preview_object

1
create_test_preview_object() -> Node2D

assert_color_equal

1
2
3
4
5
assert_color_equal(
    actual: Color,
    expected: Color,
    context: String = ""
) -> void

setup_mode_and_assert_initial_state

1
2
3
4
setup_mode_and_assert_initial_state(
    mode_value: GBEnums.Mode,
    canvas: Node2D
) -> void

before_test

1
before_test() -> void

test_target_modulate_clears_on_target_null

1
test_target_modulate_clears_on_target_null() -> void

add_child_manipulatable_with_settings

1
add_child_manipulatable_with_settings(p_target: Node) -> void

Creates a child manipulatable with ManipulatableSettings set to default as a child of the p_target node


test_build_mode_preview_objects_still_highlighted

1
test_build_mode_preview_objects_still_highlighted() -> void


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