mirror of
https://github.com/zoriya/Bomberman.git
synced 2026-02-18 11:14:40 +00:00
28 lines
728 B
C++
28 lines
728 B
C++
//
|
|
// Created by hbenjamin on 03/06/2021.
|
|
//
|
|
|
|
#pragma once
|
|
|
|
#include <Entity/Entity.hpp>
|
|
|
|
namespace BBM {
|
|
class AnimatorComponent : public WAL::Component
|
|
{
|
|
public:
|
|
//! @inherit
|
|
WAL::Component *clone(WAL::Entity &entity) const override;
|
|
|
|
//! @brief An Animator component can't be instantiated, it should be derived.
|
|
explicit AnimatorComponent(WAL::Entity &entity);
|
|
|
|
//! @brief An Animator component can't be instantiated, it should be derived.
|
|
AnimatorComponent(const AnimatorComponent &) = default;
|
|
|
|
//! @brief default destructor
|
|
~AnimatorComponent() override = default;
|
|
|
|
//! @brief An Animator component can't be assigned
|
|
AnimatorComponent &operator=(const AnimatorComponent &) = delete;
|
|
};
|
|
} |