GBInjectableFactory
Summary
Section titled “Summary”Factory for creating and injecting RefCounted objects with dependencies.
Provides centralized creation of RefCounted objects that need dependency injection since they cannot be automatically discovered by the GBInjectorSystem.
Methods
Section titled “Methods”static func create_collision_mapper( container: GBCompositionContainer ) -> CollisionMapperCreates and injects a CollisionMapper with dependencies.
static func create_placement_validator( container: GBCompositionContainer ) -> PlacementValidatorCreates and injects a PlacementValidator with dependencies.
static func create_test_setup_factory( container: GBCompositionContainer ) -> TestSetupFactoryCreates and injects a TestSetupFactory with dependencies.
Source
Section titled “Source”addons/grid_building/factories/gb_injectable_factory.gd
This API reference is automatically generated from the plugin source code. For implementation examples and usage guides, see the guides section.