std::chrono::nanoseconds aliveTime
the score of the player
Definition: ScoreComponent.hpp:14
Represent a single component of WAL.
Definition: Component.hpp:17
~ScoreComponent() override=default
A default destructor.
Definition: AnimationsComponent.cpp:9
A basic position component.
Definition: ScoreComponent.hpp:10
An entity of the WAL's ECS.
Definition: Entity.hpp:20
ScoreComponent(WAL::Entity &entity)
Create a new ScoreComponent linked to a specific entity.
Definition: ScoreComponent.cpp:6
WAL::Component * clone(WAL::Entity &entity) const override
Clone a component for another or the same entity.
Definition: ScoreComponent.cpp:11
ScoreComponent & operator=(const ScoreComponent &)=delete
A position component is not assignable.