CoriEngine
Loading...
Searching...
No Matches
WorldSystem/Systems/Trigger.hpp
Go to the documentation of this file.
1#pragma once
2#include "System.hpp"
3
4namespace Cori {
5 namespace World {
6 namespace Systems {
11 class Trigger final : public System {
12 public:
13
14 void OnTickUpdate(Core::GameTimer& gameTimer) override;
15
16 bool Create();
17
18 static constexpr SystemPriority Priority = 300;
19 private:
20 void OnBodyUserDataCreate(entt::registry& registry, entt::entity entity);
21
22 void OnTriggerCreate(entt::registry& registry, entt::entity entity);
23 };
24 }
25 }
26}
A GameTimer is responsible for managing everything that is connected with time, ticks,...
Definition Time.hpp:8
System(const System &)=delete
System responsible for handling physical triggers.
static constexpr SystemPriority Priority
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.