Theater-ECS/src/Internal/Containers/CommandBuffer.bf

14 lines
No EOL
506 B
Beef

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) {}
}