mirror of
https://github.com/zoriya/Bomberman.git
synced 2026-06-02 02:05:25 +00:00
Starting a bomb system
This commit is contained in:
@@ -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;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user