R-Type
2
Doom but in better
Loading...
Searching...
No Matches
AISystem.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include "
Registry.hpp
"
4
#include "
Behaviour.hpp
"
5
#include "
Velocity.hpp
"
6
7
#define AI_TIMER 2.0f
8
20
void
ai_system
(
Registry
&
r
,
ComponentContainer<Behaviour>
&behaviours,
ComponentContainer<Velocity>
&velocities);
ai_system
void ai_system(Registry &r, ComponentContainer< Behaviour > &behaviours, ComponentContainer< Velocity > &velocities)
AI system that updates the behaviour and velocity of entities.
Definition
AISystem.cpp:6
Behaviour.hpp
Registry.hpp
r
Registry * r
Definition
Tests.cpp:4
Velocity.hpp
ComponentContainer
Manages a collection of components associated with entities in an ECS (Entity-Component-System) archi...
Definition
ComponentContainer.hpp:24
Registry
Manages entities and their associated components, enabling the creation, deletion,...
Definition
Registry.hpp:23
game_source
systems
include
AISystem.hpp
Generated on Thu Feb 6 2025 22:34:20 for R-Type by
1.12.0