|
Aegis2D
Modular C++26 2D game engine for networked games
|
Where an entity is. More...
#include <aegis2d/ecs/components.hpp>
Public Attributes | |
| Vec2 | position {} |
| Center of the entity. | |
Where an entity is.
Positions are in logical pixels of the play area: origin at the top-left corner, x to the right, y down. The position is the center of the entity; Sprite and Collider are placed around it.
| Vec2 aegis2d::ecs::Transform::position {} |
Center of the entity.