GBSystemsContext
AUTO-GENERATED FILE — DO NOT EDIT MANUALLY
Source: context/gb_systems_context.gd
Version: 5.0
class_name: GBSystemsContext
extends: RefCounted
Summary
Holds references to the systems used in grid building operations. This context allows for easy access to the systems without needing to pass them around manually. It is designed to be used with a GBCompositionContainer that resolves dependencies and provides the necessary systems.
Signals
building_system_changed- Signal emitted when a system becomes available or is replaced.
grid_targeting_system_changedmanipulation_system_changed
Exports
(none)
Methods
_init()get_building_system()get_grid_targeting_system()get_manipulation_system()set_system()- Sets the passed system as an active system within the context’s scope.
get_editor_issues()get_runtime_issues()- Returns a list of runtime issues found in the context. [code]p_checks[/code]: [i]GBRuntimeChecks[/i] - The runtime checks to perform
_has_camera_2d_in_viewport()- Helper method to check if Camera2D is present in the current viewport
_find_camera_2d_in_node()- Recursively search for Camera2D in a node tree