static alias_ecs_Instance * _ecs;

alias_ecs_Instance * engine_ecs(void) {
  return _ecs;
}

alias_TransformBundle * engine_ecs_transform(void) {
  static alias_TransformBundle bundle;
  static bool init = false;
  if(!init) {
    alias_TransformBundle_initialize(_ecs, &bundle);
    init = true;
  }
  return &bundle;
}

alias_Physics2DBundle * engine_ecs_physics_2d(void) {
  static alias_Physics2DBundle bundle;
  static bool init = false;
  if(!init) {
    alias_Physics2DBundle_initialize(_ecs, &bundle, engine_ecs_transform());
    init = true;
  }
  return &bundle;
}