group2 0.1.0
CSE 125 Group 2
Loading...
Searching...
No Matches
MatchStatus.hpp
Go to the documentation of this file.
1
3#pragma once
4
13
15{
17 float countdownTimer; // Time remaining in current phase, if applicable
18 int winnerId; // Player ID of winner, if in FINISHED phase
19};
MatchPhase
Definition MatchStatus.hpp:6
@ FINISHED
Definition MatchStatus.hpp:11
@ LOBBY
Pre-match lobby phase; players are not yet spawned in-world.
Definition MatchStatus.hpp:7
@ COUNTDOWN
Definition MatchStatus.hpp:9
@ IN_PROGRESS
Definition MatchStatus.hpp:10
@ WARMUP
Definition MatchStatus.hpp:8
Definition MatchStatus.hpp:15
float countdownTimer
Definition MatchStatus.hpp:17
MatchPhase phase
Definition MatchStatus.hpp:16
int winnerId
Definition MatchStatus.hpp:18