mirror of
https://github.com/zoriya/Bomberman.git
synced 2026-02-10 15:36:06 +00:00
16 lines
305 B
C++
16 lines
305 B
C++
|
|
#include "ScoreComponent.hpp"
|
|
|
|
namespace BBM
|
|
{
|
|
ScoreComponent::ScoreComponent(WAL::Entity &entity)
|
|
: Component(entity),
|
|
aliveTime(std::chrono::nanoseconds::zero())
|
|
{}
|
|
|
|
WAL::Component *ScoreComponent::clone(WAL::Entity &entity) const
|
|
{
|
|
return new ScoreComponent(entity);
|
|
}
|
|
|
|
} // namespace WAL
|