Files
Bomberman/sources/System/IntroAnimation/IntroAnimationSystem.hpp
2021-06-17 20:50:43 +02:00

27 lines
863 B
C++

#pragma once
#include "Component/IntroAnimation/IntroAnimationComponent.hpp"
#include "System/System.hpp"
namespace BBM
{
//! @brief A system to handle Controllable entities in a menu.
class IntroAnimationSystem : public WAL::System<IntroAnimationComponent>
{
public:
//! @inherit
void onSelfUpdate(std::chrono::nanoseconds dtime) override;
//! @inherit
void onFixedUpdate(WAL::ViewEntity<IntroAnimationComponent> &entities) override;
//! @brief A default constructor
IntroAnimationSystem(WAL::Wal &wal);
//! @brief A IntroAnimation system is not copy constructable
IntroAnimationSystem(const IntroAnimationSystem &) = delete;
//! @brief A default destructor
~IntroAnimationSystem() override = default;
//! @brief A IntroAnimation system is assignable.
IntroAnimationSystem &operator=(const IntroAnimationSystem &) = default;
};
}