Air-Trap 1.0.0
A multiplayer R-Type clone game engine built with C++23 and ECS architecture
Loading...
Searching...
No Matches
SystemConcept.hpp
Go to the documentation of this file.
1/*
2** EPITECH PROJECT, 2025
3** R-Type
4** File description:
5**
6 * SystemConcept.hpp
7*/
8
9#ifndef RTYPE_SYSTEMCONCEPT_HPP_
10#define RTYPE_SYSTEMCONCEPT_HPP_
11
12#include "RType/ECS/ISystem.hpp"
14
15#include <type_traits>
16
17namespace rtp::ecs
18{
26 template <typename T>
27 concept System = std::is_base_of_v<ISystem, T> &&
28 requires {
29 { T::getRequiredSignature() }
30 -> std::same_as<Signature>;
31 };
32}
33
34#endif /* !RTYPE_SYSTEMCONCEPT_HPP_ */
Interface for ECS systems.
Component signature representation for ECS.
Concept defining the requirements for a System type.
File : RenderSystem.hpp License: MIT Author : Elias Josué HAJJAR LLAUQUEN elias-josue....