Adding a lobby system

This commit is contained in:
Zoe Roux
2021-06-11 11:31:31 +02:00
parent cc1f5714b6
commit 804361c763
7 changed files with 99 additions and 9 deletions
+3 -2
View File
@@ -1,15 +1,16 @@
#pragma once
#include "System/System.hpp"
#include "Component/Lobby/LobbyComponent.hpp"
namespace BBM
{
//! @brief A system to handle Health entities.
class LobbySystem : public WAL::System<>
class LobbySystem : public WAL::System<LobbyComponent>
{
public:
//! @inherit
void onSelfUpdate() override;
void onUpdate(WAL::ViewEntity<LobbyComponent> &entity, std::chrono::nanoseconds dtime) override;
//! @brief A default constructor
explicit LobbySystem(WAL::Wal &wal);