30 void loadDefaultResources()
const;
33 inline ShaderManager& getShaders()
const {
return *shader_manager_; }
38 return *resource_manager_;
44 return *component_manager_;
48 std::unique_ptr<ComponentManager> component_manager_;
49 std::unique_ptr<ShaderManager> shader_manager_;
50 std::unique_ptr<ResourceManager> resource_manager_;
51 std::unique_ptr<JobSystem> job_system_;
52 struct ALCdevice* device_;
53 struct ALCcontext* ctx_;
Handles anything related to entities and components in the engine.
Definition: component_manager.hpp:29
Intiliazes the ComponentManager and the ResourceManager and ofers functions to retrieve them.
Definition: engine.hpp:12
ResourceManager & getResourceManager() const
Retrieves the ResourceManager.
Definition: engine.hpp:37
Engine(const Engine &&)=delete
Move constructor (deleted).
Engine & operator=(const Engine &&)=delete
Move assignment operator (deleted).
Engine(const Engine &)=delete
Copy constructor (deleted).
ComponentManager & getComponentManager() const
Retrieves the ResourceManager.
Definition: engine.hpp:43
Engine & operator=(const Engine &)=delete
Copy assignment operator (deleted).
Stores and offers access to all meshes, textures, and sounds of the engine.
Definition: resource_manager.hpp:27
Defines all the components created by the engine by default.
contains globally accessible enums