Skip to content

GBStates

Groups related plugin states together for centralized access.

Provides a single container for all grid building system states including building, mode, targeting, and manipulation.

building: BuildingState

Resource tracking build success/failure signals.

mode: ModeState

Tracks current mode (e.g., build mode, demolish mode).

targeting: GridTargetingState

Holds references to target node and tilemap.

manipulation: ManipulationState

State of manipulation actions (move, demolish, etc).

func _init( p_owner_context: GBOwnerContext )
func get_runtime_issues( ) -> Array[String]

addons/grid_building/resources/states/gb_states.gd


This API reference is automatically generated from the plugin source code. For implementation examples and usage guides, see the guides section.