summaryrefslogtreecommitdiff
path: root/src/ecs.cpp
diff options
context:
space:
mode:
authorJonathan Bradley <jcb@pikum.xyz>2025-05-30 17:21:38 -0400
committerJonathan Bradley <jcb@pikum.xyz>2025-05-30 17:21:38 -0400
commit2a2b5c4dbfe278e282b3d8ae0352a11da50c872a (patch)
treead0f61c521d2fe0f79a55a72e36af39161b25067 /src/ecs.cpp
parentf1d22f3fde0cb7bf201168a11774793b4efc98f7 (diff)
pke: entities: BucketContainer>pk_bkt_arr_t
Diffstat (limited to 'src/ecs.cpp')
-rw-r--r--src/ecs.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ecs.cpp b/src/ecs.cpp
index 137686b..6ff4d5c 100644
--- a/src/ecs.cpp
+++ b/src/ecs.cpp
@@ -114,6 +114,10 @@ void ECS_MarkForRemoval(Entity_Base *entity) {
pk_arr_append_t(&entitiesMarkedForRemoval, entity);
}
+pk_bkt_arr *ECS_GetEntities() {
+ return &ecs.bc.entityPtrs;
+};
+
void ECS_Tick_Early(double delta) {
// these reserves might happen 1 tick early, but that's fine
(void)delta;