Change api to support archetypes and move stuff to different namespaces
This commit is contained in:
parent
a8ac473666
commit
499cea5b44
10 changed files with 93 additions and 97 deletions
14
src/Internal/Containers/CommandBuffer.bf
Normal file
14
src/Internal/Containers/CommandBuffer.bf
Normal 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) {}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue