R-Type  2
Doom but in better
Loading...
Searching...
No Matches
Position Struct Reference

Represents the position of an entity in a 2D space. More...

#include <Position.hpp>

Collaboration diagram for Position:
Collaboration graph

Data Fields

float X
 
float Y
 

Detailed Description

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.

Field Documentation

◆ X

float Position::X

The X-coordinate of the entity's position.

Definition at line 11 of file Position.hpp.

◆ Y

float Position::Y

The Y-coordinate of the entity's position.

Definition at line 12 of file Position.hpp.


The documentation for this struct was generated from the following file: