![]() |
R-Type
2
Doom but in better
|
Represents the position of an entity in a 2D space. More...
#include <Position.hpp>
Data Fields | |
float | X |
float | Y |
Represents the position of an entity in a 2D space.
This structure is used to store the X and Y coordinates of an entity's position within a 2D space. It can be used to track the location of entities such as players, enemies, or items in the game world.
Definition at line 10 of file Position.hpp.
float Position::X |
The X-coordinate of the entity's position.
Definition at line 11 of file Position.hpp.
float Position::Y |
The Y-coordinate of the entity's position.
Definition at line 12 of file Position.hpp.