![]() |
Olympe Engine 2.0
2D Game Engine with ECS Architecture
|
ECS component storing an entity's world-space position. More...
#include "../../vector.h"
Include dependency graph for PositionComponent.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| struct | Olympe::PositionComponent |
| ECS component: entity world-space position. More... | |
Namespaces | |
| namespace | Olympe |
| < Provides AssetID and INVALID_ASSET_ID | |
ECS component storing an entity's world-space position.
PositionComponent is a plain-data ECS component that stores the 3-D position of an entity in world space. It is used by movement systems (e.g. Task_MoveToLocation in World mode) to read and write entity positions.
C++14 compliant - no C++17/20 features.
Definition in file PositionComponent.h.