system basic

This commit is contained in:
arthur.jamet
2021-06-15 10:11:14 +02:00
parent 41d8369ba5
commit 86e4bf684c
5 changed files with 50 additions and 2 deletions
+20
View File
@@ -0,0 +1,20 @@
//
// Created by Tom Augier on 05/06/2021
//
#include "ScoreSystem.hpp"
#include <map>
namespace BBM {
ScoreSystem::ScoreSystem(WAL::Wal &wal)
: System(wal)
{}
void ScoreSystem::onSelfUpdate()
{
ScoreComponent::Score maxScore = ScoreComponent::Score::PLAYING;
for (auto &[_, score, _], this->_wal.getScene()->view<PositionComponent, CollisionComponent>())
}
}