diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 9b36e23..ba94a0b 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -7,6 +7,7 @@ set(EntityComponentSystem_HEADERS EC/Meta/Contains.hpp EC/Meta/ContainsAll.hpp EC/Meta/IndexOf.hpp + EC/Meta/Morph.hpp EC/Meta/Meta.hpp EC/Bitset.hpp EC/EC.hpp) diff --git a/src/EC/Manager.hpp b/src/EC/Manager.hpp new file mode 100644 index 0000000..ed8c412 --- /dev/null +++ b/src/EC/Manager.hpp @@ -0,0 +1,20 @@ + +#ifndef EC_MANAGER_HPP +#define EC_MANAGER_HPP + +namespace EC +{ + template + struct Manager + { + public: + using Combined = EC::Meta::Combine; + + private: + using BitsetType = EC::Bitset; + + }; +} + +#endif + diff --git a/src/EC/Meta/Meta.hpp b/src/EC/Meta/Meta.hpp index 1bb976d..0ac0ebd 100644 --- a/src/EC/Meta/Meta.hpp +++ b/src/EC/Meta/Meta.hpp @@ -4,4 +4,5 @@ #include "Contains.hpp" #include "ContainsAll.hpp" #include "IndexOf.hpp" +#include "Morph.hpp" diff --git a/src/EC/Meta/Morph.hpp b/src/EC/Meta/Morph.hpp new file mode 100644 index 0000000..b08655e --- /dev/null +++ b/src/EC/Meta/Morph.hpp @@ -0,0 +1,28 @@ + +#ifndef EC_META_MORPH_HPP +#define EC_META_MORPH_HPP + +#include "TypeList.hpp" + +namespace EC +{ + namespace Meta + { + template + struct MorphHelper + { + }; + + template