Move2DCommand.ixx File
Command for applying directional 2D movement to a GameObject. More...
Included Headers
#include <helios.engine.modules.physics.motion.components.DirectionComponent>
#include <helios.engine.modules.physics.motion.components.Move2DComponent>
#include <helios.math.types>
#include <helios.engine.ecs.GameObject>
#include <helios.engine.runtime.messaging.command.TargetedCommand>
Namespaces Index
| namespace | helios |
| namespace | engine |
|
Main engine module aggregating core infrastructure and game systems. More... | |
| namespace | modules |
|
Domain-specific components and systems. More... | |
| namespace | physics |
|
Physics simulation and collision detection subsystem for the game engine. More... | |
| namespace | motion |
|
Motion physics components and systems. More... | |
| namespace | commands |
Classes Index
| class | Move2DCommand |
|
Command that applies 2D directional movement to a GameObject. More... | |
Description
Command for applying directional 2D movement to a GameObject.
File Listing
The file content with the documentation metadata removed is:
15export namespace helios::engine::modules::physics::motion::commands {
31 class Move2DCommand : public helios::engine::runtime::messaging::command::TargetedCommand {
41 const helios::math::vec2f direction_;
51 explicit Move2DCommand(
52 const helios::math::vec2f direction,
64 void execute(helios::engine::ecs::GameObject gameObject) const noexcept override {
66 auto* moveComponent2D = gameObject.get<helios::engine::modules::physics::motion::components::Move2DComponent>();
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.