r-type  0.0.0
R-Type main
Loading...
Searching...
No Matches
Projectile.hpp
Go to the documentation of this file.
1///
2/// @file Projectile.hpp
3/// @brief Projectile system for multiplayer
4/// @namespace gme
5///
6
7#pragma once
8
10#include "ECS/Registry.hpp"
12
13namespace gme
14{
15
16 class ProjectileSystem final : public ecs::ASystem
17 {
18 public:
19 explicit ProjectileSystem(const std::shared_ptr<eng::IRenderer> & /* renderer */) {}
20 ~ProjectileSystem() override = default;
21
26
27 void update(ecs::Registry &registry, float dt) override;
28
29 }; // class ProjectileSystem
30} // namespace gme
This file contains the IRenderer class declaration.
This file contains the interface for systems.
This file contains the Registry class declaration.
Abstract class for system.
Definition ISystems.hpp:34
Class for managing entities and their components.
Definition Registry.hpp:25
~ProjectileSystem() override=default
void update(ecs::Registry &registry, float dt) override
Definition projectile.cpp:4
ProjectileSystem & operator=(ProjectileSystem &&)=delete
ProjectileSystem(ProjectileSystem &&)=delete
ProjectileSystem(const std::shared_ptr< eng::IRenderer > &)
ProjectileSystem(const ProjectileSystem &)=delete
ProjectileSystem & operator=(const ProjectileSystem &)=delete