Shkyera Engine
Easy to use, game engine for Python
Loading...
Searching...
No Matches
AssetRoot.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <filesystem>
4
5#include <ECS/Entity.hpp>
7
8namespace shkyera {
9
10// Registry of all path-based assets representing the root of the project
11struct AssetRoot : public SingletonComponent<AssetRoot> {
12 std::filesystem::path path;
13};
14
15} // namespace shkyera
Definition Asset.hpp:6
Definition AssetRoot.hpp:11
std::filesystem::path path
Definition AssetRoot.hpp:12
Marker to denote Singleton Component.
Definition SingletonComponent.hpp:9