Class EngineContext

Class Documentation

class EngineContext

Public Functions

inline EngineContext(ecs::Registry &ecs_registry, ResourcesModule &resources_module, Window &window, InputManager &input, SystemOrchestrator &system_orchestrator)
inline const ecs::Registry &get_ecs_registry() const
inline ecs::Registry &get_ecs_registry()
inline const ResourceRegistry &get_resource_registry() const
inline ResourceRegistry &get_resource_registry()
inline const ResourcesModule &get_resources() const
inline ResourcesModule &get_resources()
inline const Window &get_window() const
inline Window &get_window()
inline const InputManager &get_input() const
inline InputManager &get_input()
inline const SystemOrchestrator &get_system_orchestrator() const
inline SystemOrchestrator &get_system_orchestrator()

Protected Attributes

std::reference_wrapper<ecs::Registry> ecs_registry
std::reference_wrapper<ResourcesModule> resources_module
std::reference_wrapper<Window> window
std::reference_wrapper<InputManager> input
std::reference_wrapper<SystemOrchestrator> system_orchestrator