CombatBuilder Class
Builder for configuring weapon and projectile components. More...
Declaration
Public Constructors Index
| CombatBuilder (helios::engine::ecs::GameObject gameObject) | |
|
Constructs a CombatBuilder for the given GameObject. More... | |
Public Member Functions Index
| helios::engine::builder::gameObject::builders::configs::WeaponConfig | weapon () const |
|
Returns a config for weapon setup. More... | |
| helios::engine::builder::gameObject::builders::configs::CombatConfig | combat () const |
Private Member Attributes Index
| helios::engine::ecs::GameObject | gameObject_ |
|
Non-owning pointer to the target GameObject. More... | |
Description
Builder for configuring weapon and projectile components.
Provides factory methods for setting up weapon systems including fire rate and projectile spawning.
Definition at line 21 of file CombatBuilder.ixx.
Public Constructors
CombatBuilder()
| inline explicit |
Constructs a CombatBuilder for the given GameObject.
- Parameters
-
<a href="/docs/helios/namespaces/helios/engine/builder/gameobject">gameObject</a> Target GameObject to configure.
Definition at line 35 of file CombatBuilder.ixx.
Public Member Functions
combat()
| inline nodiscard |
Definition at line 46 of file CombatBuilder.ixx.
weapon()
| inline nodiscard |
Returns a config for weapon setup.
- Returns
WeaponConfig for fluent configuration.
Definition at line 42 of file CombatBuilder.ixx.
Private Member Attributes
gameObject_
|
Non-owning pointer to the target GameObject.
Definition at line 26 of file CombatBuilder.ixx.
The documentation for this class was generated from the following file:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.