GridTargetingDebugText

AUTO-GENERATED FILE – DO NOT EDIT MANUALLY

[auto] GridTargetingDebugText class in the Grid Building system. Methods: 6, Properties: 1, Constants: 8.

Source File: addons/grid_building/debug/grid_targeting_debug_text.gd

Extends: GBControl

Exported Properties

  • Property: collisions_count_prefix := "Collisions:" # Descriptive collision count prefix
  • Property: debug_output : RichTextLabel

Properties

  • Property: display_mode := "VERTICAL" # VERTICAL = labels + value lines; HORIZONTAL = single line per category

Private Properties

  • Property: _lines := { (private)
  • Property: _last_rendered: String = "" (private)
  • Property: _indicator_context: [IndicatorContext](./indicator-context/) (private)
  • Property: _targeting_state: [GridTargetingState](./grid-targeting-state/) (private)
  • Property: _debug_settings: [GBDebugSettings](./gb-debug-settings/) (private)

Constants

  • Constant: MAX_BLOCKING_NAMES := 4
  • Constant: PLACEHOLDER_VALUE := "-"
  • Constant: LABEL_STATUS := "Dependencies:"
  • Constant: LABEL_MOUSE := "Mouse:"
  • Constant: LABEL_MAP := "Target Map:"
  • Constant: LABEL_INDICATOR := "Indicator:"
  • Constant: LABEL_COLLISIONS := "Collisions:"
  • Constant: LABEL_BLOCKING := "Blocking:"

Public Methods

resolve_gb_dependencies

1
resolve_gb_dependencies(p_container: GBCompositionContainer) -> void

set_indicator_position

1
set_indicator_position(p_position: Vector2) -> void

clear_indicator_position

1
clear_indicator_position() -> void

update_collision_labels

1
update_collision_labels(p_indicator_manager: IndicatorManager) -> void

Private Methods

_ready

1
_ready() -> void

Flags: private


_process

1
_process(_delta: float) -> void

Flags: private


_on_manager_changed

1
_on_manager_changed(new_manager: IndicatorManager) -> void

Flags: private


_render_debug

1
_render_debug() -> void

Flags: private


_should_show_dependencies

1
_should_show_dependencies() -> bool

Flags: private


_update_map_line

1
_update_map_line() -> void

Flags: private


_on_target_map_changed

1
_on_target_map_changed(new_map: TileMapLayer) -> void

Flags: private


_update_indicator_line

1
_update_indicator_line(p_manager: IndicatorManager) -> void

Flags: private

Update indicator line only (no tile coordinates).