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
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
Registry * r
Definition Tests.cpp:4
Manages a collection of components associated with entities in an ECS (Entity-Component-System) archi...
Manages entities and their associated components, enabling the creation, deletion,...
Definition Registry.hpp:23