Rework ECS framework
- Add queue systems when adding/removing components and systems - Add GlobalData to ECSManager, used to store data that is not specific to entities - Add View class, used to for loop all entities that contains the given Components - Rework how signaling works
This commit is contained in:
@@ -17,6 +17,7 @@ namespace Copium
|
||||
|
||||
virtual size_t Size() = 0;
|
||||
virtual bool Erase(EntityId entity) = 0;
|
||||
virtual void CommitUpdates() = 0;
|
||||
std::vector<EntityId>& GetEntities();
|
||||
const std::vector<EntityId>& GetEntities() const;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user