![]() |
R-Type
2
Doom but in better
|
Represents the velocity of an entity in a 2D space. More...
#include <Velocity.hpp>
Data Fields | |
float | vX |
float | vY |
Represents the velocity of an entity in a 2D space.
This structure is used to store the velocity components of an entity in both the X and Y directions. It can be used to control the movement of entities such as players, monsters, and projectiles.
Definition at line 10 of file Velocity.hpp.
float Velocity::vX |
The velocity of the entity along the X-axis.
Definition at line 11 of file Velocity.hpp.
float Velocity::vY |
The velocity of the entity along the Y-axis.
Definition at line 12 of file Velocity.hpp.