enemy_system.hpp 589 Bytes
Newer Older
1
2
3
4
5
6
#pragma once

#include <mirrage/utils/units.hpp>
#include <mirrage/ecs/entity_manager.hpp>

#include "fixed_path_comp.hpp"
7
#include "follow_target_comp.hpp"
8
#include "continuous_path_comp.hpp"
9
#include "shooting_comp.hpp"
10
#include "target_comp.hpp"
11
12
13

namespace phase_shifter::gameplay {
	
14
15
	class Beat_system;

16
17
	class Enemy_system {
	  public:
18
		Enemy_system(mirrage::ecs::Entity_manager& entity_manager, const Beat_system& beat_system);
19
20
21
22
		void update(mirrage::util::Time dt);

	  private:
		mirrage::ecs::Entity_manager& _entity_manager;
23
24
		const Beat_system&            _beat_system;

25
26
	};
}