PlaceableSelectionLogic
Summary
Section titled “Summary”Shared logic for placeable selection style UIs (grid or sequence list variants) Provides dependency resolution, mode visibility toggling, validation helpers.
Signals
Section titled “Signals”signal valid_changed(
is_valid:bool
)
Methods
Section titled “Methods”func resolve_gb_dependencies(
p_container: GBCompositionContainer)
->bool
Sources injectable dependencies from the p_container so that this GBInjectable can operate at runtime
func get_runtime_issues( ) ->Array
[
String
]
Validates the injection depenendicies of this GBInjectable
func set_mode_state(
p_mode_state: ModeState)
->void
func get_building_system( ) -> BuildingSystemfunc validate_basic( ) ->Array
[
String
]
func handle_mode_changed(
p_mode:GBEnums.Mode
,
ui_root:Control
)
->void
func _on_building_system_changed(
p_system: BuildingSystem)
->void
Source
Section titled “Source”addons/grid_building/ui/placeable/shared/placeable_selection_logic.gd
This API reference is automatically generated from the plugin source code. For implementation examples and usage guides, see the guides section.