diff options
| author | Jonathan Bradley <jcb@pikum.xyz> | 2023-09-26 16:02:07 -0400 |
|---|---|---|
| committer | Jonathan Bradley <jcb@pikum.xyz> | 2023-09-26 16:02:07 -0400 |
| commit | 211c14d7094a550fd1886123dbd52f718163d116 (patch) | |
| tree | 0681c39d292dbde52da6b81a2d444f8b0a621762 /src/ecs.hpp | |
| parent | 35759fe54afef2015685e004dfe76ff79c27e32e (diff) | |
use placement new operator in ECS and better asserts
Diffstat (limited to 'src/ecs.hpp')
| -rw-r--r-- | src/ecs.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ecs.hpp b/src/ecs.hpp index 1dd8d57..38ebc91 100644 --- a/src/ecs.hpp +++ b/src/ecs.hpp @@ -27,7 +27,7 @@ CompGrBinds *ECS_GetGrBinds(EntityHandle entHandle); uint64_t ECS_GetGrBinds_BucketCount(); CompGrBinds *ECS_GetGrBinds(uint64_t bucketIndex, uint64_t &itemCount); -CompInstance &ECS_CreateInstance(EntityHandle entHandle); +CompInstance &ECS_CreateInstance(EntityHandle entHandle, EntityHandle entityTypeEntityHandle); CompInstance *ECS_GetInstance(EntityHandle entHandle); #endif /* PKE_ECS_HPP */ |
