MotionBuilder Class
Builder for configuring movement and steering components. More...
Declaration
Public Constructors Index
| MotionBuilder (helios::engine::ecs::GameObject gameObject) | |
|
Constructs a MotionBuilder for the given GameObject. More... | |
Public Member Functions Index
| helios::engine::builder::gameObject::builders::configs::Move2DConfig | move2D () |
|
Returns a config for 2D movement setup. More... | |
| helios::engine::builder::gameObject::builders::configs::SteeringConfig | steering () const |
|
Returns a config for steering/rotation setup. More... | |
Private Member Attributes Index
| helios::engine::ecs::GameObject | gameObject_ |
|
Non-owning pointer to the target GameObject. More... | |
Description
Builder for configuring movement and steering components.
Provides factory methods for obtaining config objects that set up 2D movement and rotation behavior on a GameObject.
Definition at line 21 of file MotionBuilder.ixx.
Public Constructors
MotionBuilder()
| inline explicit |
Constructs a MotionBuilder 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 MotionBuilder.ixx.
Public Member Functions
move2D()
| inline |
Returns a config for 2D movement setup.
- Returns
Move2DConfig for fluent configuration.
Definition at line 42 of file MotionBuilder.ixx.
steering()
| inline |
Returns a config for steering/rotation setup.
- Returns
SteeringConfig for fluent configuration.
Definition at line 51 of file MotionBuilder.ixx.
Private Member Attributes
gameObject_
|
Non-owning pointer to the target GameObject.
Definition at line 26 of file MotionBuilder.ixx.
The documentation for this class was generated from the following file:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.