R-Type 0.1
Loading...
Searching...
No Matches
EngineContext.hpp
1#pragma once
2
3#include <Registry.hpp>
4#include <Scheduler.hpp>
5
6#include "Game.hpp"
7#include "events/busEvents.hpp"
8#include "factoryDataDriven/factoryDataDriven.hpp"
9#include "inputAction/InputAction.hpp"
10
11namespace rtk {
21 ecs::Registry &registry;
22 ecs::Scheduler &scheduler;
26};
27
29} // namespace rtk
Type indexed publish and subscribe event bus.
Definition busEvents.hpp:20
Builds entities from JSON blueprints and registered component builders.
Definition factoryDataDriven.hpp:54
Engine services handed to the game and its scenes.
Definition EngineContext.hpp:20
ecs::Scheduler & scheduler
Systems run every frame.
Definition EngineContext.hpp:22
busEvent & eventBus
Event bus shared by systems.
Definition EngineContext.hpp:23
rtk::factory::EntityFactory _entityFactory
Blueprint based entity factory.
Definition EngineContext.hpp:25
ecs::Registry & registry
Entities and components.
Definition EngineContext.hpp:21