mirror of
https://github.com/zoriya/Bomberman.git
synced 2026-05-31 09:32:02 +00:00
create score component
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user