group2 0.1.0
CSE 125 Group 2
Loading...
Searching...
No Matches
PlayerMatchStats.hpp
Go to the documentation of this file.
1
3
4#pragma once
6{
7 int score = 0; // Player's current score
8 int kills = 0; // Number of kills player has achieved
9 int deaths = 0; // Number of times player has died
10 bool hasWon = false; // Whether the player has won the match (e.g. reached kill threshold)
11};
Definition PlayerMatchStats.hpp:6
int score
Definition PlayerMatchStats.hpp:7
int deaths
Definition PlayerMatchStats.hpp:9
bool hasWon
Definition PlayerMatchStats.hpp:10
int kills
Definition PlayerMatchStats.hpp:8