|
Air-Trap 1.0.0
A multiplayer R-Type clone game engine built with C++23 and ECS architecture
|
Component representing a 2D velocity. More...
#include <Velocity.hpp>
Public Attributes | |
| Vec2f | direction {0.0f, 0.0f} |
| Velocity in X and Y directions. | |
| float | speed {0.0f} |
| Speed multiplier. | |
Component representing a 2D velocity.
Definition at line 17 of file Velocity.hpp.
| Vec2f rtp::ecs::components::Velocity::direction {0.0f, 0.0f} |
Velocity in X and Y directions.
Definition at line 18 of file Velocity.hpp.
Referenced by rtp::client::EntityTemplate::makeFromDef(), rtp::client::EntityTemplate::makeParallax(), and rtp::server::MovementSystem::update().
| float rtp::ecs::components::Velocity::speed {0.0f} |
Speed multiplier.
Definition at line 19 of file Velocity.hpp.
Referenced by rtp::client::EntityTemplate::makeFromDef(), and rtp::client::EntityTemplate::makeParallax().