mirror of
https://github.com/zoriya/Bomberman.git
synced 2026-02-10 15:36:06 +00:00
19 lines
343 B
C++
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
|