GBInjectableFactory
AUTO-GENERATED FILE – DO NOT EDIT MANUALLY
Factory for creating and injecting RefCounted objects with dependencies.
Source File: addons/grid_building/factories/gb_injectable_factory.gd
Extends: RefCounted
Public Methods
create_collision_mapper
Flags: static
Creates and injects a CollisionMapper with dependencies.
create_indicator_service
Flags: static
Creates and injects an IndicatorManager with dependencies.
parent: Node2D - The parent node for indicators (required - cannot be resolved from container)
create_placement_validator
Flags: static
Creates and injects a PlacementValidator with dependencies.
create_test_setup_factory
Flags: static
Creates and injects a TestSetupFactory with dependencies.
create_and_inject
Flags: static
Creates and injects any RefCounted object that implements resolve_gb_dependencies. Generic factory method for objects that follow the injection pattern.
constructor_args: Array - Arguments to pass to the constructor (optional)