Change api to support archetypes and move stuff to different namespaces

This commit is contained in:
Booklordofthedings 2024-11-18 10:29:35 +01:00
parent a8ac473666
commit 499cea5b44
10 changed files with 93 additions and 97 deletions

View file

@ -0,0 +1,14 @@
namespace Theater_ECS.Internal.Containers;
/*
Not all actions can be done during the run of a system,
this class provides a buffer where actions are stored until a system is done running,
at which points these actions will be applied to the data store.
*/
class CommandBuffer
{
public void DeleteEntity(Entity e) {}
public void CreateEntity(IArchetypeable a) {}
public void AddComponentToEntity(Entity e, Component c, void* data) {}
public void RemoveComponentFromEntity(Entity e, Component c) {}
}