#pragma once #include #include "defines.h" #include "enterprise_defaults.h" namespace ee_ecs { class world { private: entt::registry registry; public: /// /// Run every registered system /// void update(); /// /// Register new enterprise entity in specified state /// /// represents type of activity that enterprise do every tick /// is ID of state entity where enterprise will be placed /// is initial properties of enterprise void spawn_enterprise(const bool is_building, const ACTION_TYPE action, const entt::entity state, const enterprise_defaults defaults); }; }