CoriEngine
Loading...
Searching...
No Matches
WorldSystem/Systems/StateMachine.hpp
Go to the documentation of this file.
1#pragma once
2#include "System.hpp"
3
4namespace Cori {
5 namespace World {
6 namespace Systems {
7 class StateMachine final : public System {
8 public:
9 void OnTickUpdate(Core::GameTimer& gameTimer) override;
10
11 bool Create();
12
13 static constexpr SystemPriority Priority = 100;
14
15 private:
16 void OnStateMachineCreate(entt::registry& registry, entt::entity entity);
17 };
18 }
19 }
20}
A GameTimer is responsible for managing everything that is connected with time, ticks,...
Definition Time.hpp:8
System(const System &)=delete
void OnTickUpdate(Core::GameTimer &gameTimer) override
Anything connected to WorldSystem (ECS) is in this namespace.
uint16_t SystemPriority
Definition Concept.hpp:5
Global engine namespace.