// // Created by Tom Augier on 05/06/2021 // #include "ScoreSystem.hpp" #include namespace BBM { ScoreSystem::ScoreSystem(WAL::Wal &wal) : System(wal) {} void ScoreSystem::onUpdate(WAL::ViewEntity &entity, std::chrono::nanoseconds dtime) { if (entity.get().getHealthPoint()) entity.get().aliveTime += dtime; } }