Air-Trap 1.0.0
A multiplayer R-Type clone game engine built with C++23 and ECS architecture
Loading...
Searching...
No Matches
EnemyAISystem.hpp
Go to the documentation of this file.
1
8#ifndef RTYPE_ENEMY_AI_SYSTEM_HPP_
9 #define RTYPE_ENEMY_AI_SYSTEM_HPP_
10
11 #include "RType/ECS/ISystem.hpp"
12 #include "RType/ECS/Registry.hpp"
13
19
24namespace rtp::server {
29 class EnemyAISystem : public ecs::ISystem {
30 public:
36
41 void update(float dt) override;
42 private:
44 float _time{0.0f};
45 };
46}
47#endif /* !RTYPE_ENEMY_AI_SYSTEM_HPP_ */
Interface for ECS systems.
Abstract base class for all ECS systems.
Definition ISystem.hpp:57
System to handle enemy AI behavior.
ecs::Registry & _registry
Reference to the entity registry.
void update(float dt) override
Update enemy AI system logic for one frame.
float _time
Elapsed time for AI calculations.
File : GameManager.hpp License: MIT Author : Elias Josué HAJJAR LLAUQUEN elias-josue....