Files
Bomberman/sources/Component/Stat/StatComponent.cpp
2021-06-16 16:32:07 +02:00

19 lines
343 B
C++

//
//
//
#include "StatComponent.hpp"
namespace BBM
{
StatComponent::StatComponent(WAL::Entity &entity, WAL::Callback<Drawable2DComponent &> callback)
: Component(entity),
updater(callback)
{}
WAL::Component *StatComponent::clone(WAL::Entity &entity) const
{
return new StatComponent(entity, this->updater);
}
} // namespace WAL