mirror of
https://github.com/zoriya/Bomberman.git
synced 2026-02-16 10:20:45 +00:00
27 lines
863 B
C++
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;
|
|
};
|
|
} |