more structure planning
This commit is contained in:
18
Aeon/Entity/ComponentController.hpp
Normal file
18
Aeon/Entity/ComponentController.hpp
Normal file
@@ -0,0 +1,18 @@
|
||||
#ifndef AEON_ENTITY_COMPONENTCONTROLLER_H_
|
||||
#define AEON_ENTITY_COMPONENTCONTROLLER_H_
|
||||
|
||||
#include <Aeon/includes.hpp>
|
||||
|
||||
|
||||
namespace EC
|
||||
{
|
||||
|
||||
class ComponentController
|
||||
{
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
|
||||
#endif
|
||||
@@ -3,8 +3,7 @@
|
||||
|
||||
#include <Aeon/Includes.hpp>
|
||||
|
||||
struct Entity;
|
||||
struct Component;
|
||||
#include <Aeon/Entity/Entity.hpp>
|
||||
|
||||
namespace EC
|
||||
{
|
||||
@@ -29,7 +28,7 @@ public:
|
||||
template <typename TComponent>
|
||||
TComponent& Replace(const Entity& entity);
|
||||
|
||||
// replace inplace
|
||||
// replace in-place
|
||||
template <typename TComponent>
|
||||
TComponent& Patch(const Entity& entity);
|
||||
|
||||
@@ -48,7 +47,7 @@ public:
|
||||
// std::vector<T&> Sort(std::function<;
|
||||
|
||||
private:
|
||||
|
||||
// std::map<Entity<uint32_t>, std::vector<
|
||||
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user