Shkyera Engine
Easy to use, game engine for Python
Loading...
Searching...
No Matches
SingletonComponent.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <type_traits>
4
5namespace shkyera {
6
8template <typename Component>
10
11template <typename Component>
12concept SingletonComponentType = std::is_base_of_v<SingletonComponent<Component>, Component>;
13
14template <typename Component>
16
17} // namespace shkyera
Definition SingletonComponent.hpp:15
Definition SingletonComponent.hpp:12
Definition Asset.hpp:6
Marker to denote Singleton Component.
Definition SingletonComponent.hpp:9