summaryrefslogtreecommitdiff
path: root/src/ecs.cpp
diff options
context:
space:
mode:
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;