Grid Placement
Development ⚠️ GridPlacement 6.0 (GECS) is in active development. This is the GDScript ECS architecture.

TargetingState

AUTO-GENERATED (GDScript) API entry

AUTO-GENERATED FILE — DO NOT EDIT MANUALLY

Source: components/targeting/targeting_state.gd

Version: 6.0

class_name: TargetingState extends: Resource

Signals

(none)

Exports

  • target_tile: Vector2i = Vector2i.ZERO
    • Current target position in world coordinates
    • Whether targeting is currently active
    • Grid identifier for multi-grid support
    • User identifier for multi-user targeting
    • Last valid tile position (for fallback)
    • Current targeting issues/validation errors
  • target_world_position: Vector2 = Vector2.ZERO
    • Whether targeting is currently active
    • Grid identifier for multi-grid support
    • User identifier for multi-user targeting
    • Last valid tile position (for fallback)
    • Current targeting issues/validation errors
  • is_targeting_active: bool = false
    • Grid identifier for multi-grid support
    • User identifier for multi-user targeting
    • Last valid tile position (for fallback)
    • Current targeting issues/validation errors
  • grid_id: String = ""
    • User identifier for multi-user targeting
    • Last valid tile position (for fallback)
    • Current targeting issues/validation errors
  • user_id: String = ""
    • Last valid tile position (for fallback)
    • Current targeting issues/validation errors
  • last_valid_tile: Vector2i = Vector2i.ZERO
    • Current targeting issues/validation errors
  • targeting_issues: Array

Methods

  • _init(p_grid_id: String = "", p_user_id: String = "") -> void