system basic

This commit is contained in:
arthur.jamet
2021-06-15 10:11:14 +02:00
parent 41d8369ba5
commit 86e4bf684c
5 changed files with 50 additions and 2 deletions
+26
View File
@@ -0,0 +1,26 @@
#pragma once
#include "System/System.hpp"
#include "Component/Score/ScoreComponent.hpp"
#include "Component/Health/HealthComponent.hpp"
#include "Wal.hpp"
namespace BBM
{
class ScoreSystem : public WAL::System<ScoreComponent, HealthComponent>
{
public:
//! @inherit
void onFixedUpdate(WAL::ViewEntity<ScoreComponent, HealthComponent> &entity) override;
//! @brief ctor
ScoreSystem(WAL::Wal &wal);
//! @brief Default copy ctor
ScoreSystem(const ScoreSystem &) = default;
//! @brief Default dtor
~ScoreSystem() override = default;
//! @brief A SoundManager screen system can't be assigned.
ScoreSystem &operator=(const ScoreSystem &) = delete;
};
}