Files
Bomberman/sources/System/Timer/TimerSystem.hpp
2021-06-07 14:40:24 +02:00

29 lines
687 B
C++

//
// Created by Zoe Roux on 5/31/21.
//
#pragma once
#include <System/System.hpp>
#include <Wal.hpp>
#include <Component/Timer/TimerComponent.hpp>
namespace BBM
{
class TimerSystem : public WAL::System<TimerComponent>
{
public:
//! @inherit
void onUpdate(WAL::ViewEntity<TimerComponent> &entity, std::chrono::nanoseconds dtime) override;
//! @brief A default constructor
TimerSystem(WAL::Wal &);
//! @brief A timer system is copy constructable.
TimerSystem(const TimerSystem &) = default;
//! @brief A default destructor
~TimerSystem() override = default;
//! @breief A timer system is assignable.
TimerSystem &operator=(const TimerSystem &) = default;
};
}