mirror of
https://github.com/zoriya/Bomberman.git
synced 2026-05-24 07:11:13 +00:00
display simpe stat, no update
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
//
|
||||
//
|
||||
//
|
||||
|
||||
#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
|
||||
Reference in New Issue
Block a user