group2 0.1.0
CSE 125 Group 2
Loading...
Searching...
No Matches
MatchSystem.hpp
Go to the documentation of this file.
1
3
6
7#include <optional>
8
9namespace systems
10{
12std::optional<ClientId> handleWinCondition(Registry& registry, int killsToWin);
13
15void resetStats(Registry& registry);
16} // namespace systems
Network client identifier component for multiplayer entities.
Shared ECS registry type alias for the game engine.
entt::registry Registry
Shared ECS registry type alias.
Definition Registry.hpp:11
Client-only input sampling system — split into two halves so mouse look can run every iterate() (smoo...
Definition DebugUI.hpp:15
std::optional< ClientId > handleWinCondition(Registry &registry, int killsToWin)
Checks if any player has met win condition and updates their PlayerMatchStats accordingly.
Definition MatchSystem.cpp:13
void resetStats(Registry &registry)
Resets all players' match scores to initial values.
Definition MatchSystem.cpp:26