CoriEngine
Loading...
Searching...
No Matches
Concept.hpp
Go to the documentation of this file.
1#pragma once
2
3namespace Cori {
4 namespace World {
5 using SystemPriority = uint16_t;
6 class System;
7
8 template<typename T>
9 concept IsSystem = requires(T& a) {
10 { T::Priority } -> std::convertible_to<SystemPriority>;
11 requires std::derived_from<T, System>;
12 };
13 }
14}
System part of ECS.
Definition System.hpp:22
Anything connected to WorldSystem (ECS) is in this namespace.
uint16_t SystemPriority
Definition Concept.hpp:5
Global engine namespace.