Starting a bomb system

This commit is contained in:
Zoe Roux
2021-06-09 18:00:15 +02:00
parent c88f986328
commit 1dd4e0b22d
7 changed files with 62 additions and 10 deletions
+27
View File
@@ -0,0 +1,27 @@
//
// Created by Zoe Roux on 6/9/21.
//
#pragma once
#include <System/System.hpp>
#include "Component/Bomb/BasicBombComponent.hpp"
namespace BBM
{
class BombSystem : public WAL::System<BasicBombComponent>
{
public:
//! @inherit
void onUpdate(WAL::ViewEntity<BasicBombComponent> &entity, std::chrono::nanoseconds dtime) override;
//! @brief Construct a new bomb system.
explicit BombSystem(WAL::Wal &wal);
//! @brief A bomb system is copy constructable
BombSystem(const BombSystem &) = default;
//! @brief A default destructor
~BombSystem() override = default;
//! @brief A bomb system can't be assigned.
BombSystem operator=(const BombSystem &) = delete;
};
}