create score component

This commit is contained in:
arthur.jamet
2021-06-15 09:45:57 +02:00
parent d164e3d407
commit 41d8369ba5
3 changed files with 47 additions and 0 deletions
@@ -0,0 +1,16 @@
#include "ScoreComponent.hpp"
namespace BBM
{
ScoreComponent::ScoreComponent(WAL::Entity &entity)
: Component(entity),
position()
{}
WAL::Component *ScoreComponent::clone(WAL::Entity &entity) const
{
return new ScoreComponent(entity);
}
} // namespace WAL