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
5
struct
PlayerMatchStats
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
};
PlayerMatchStats
Definition
PlayerMatchStats.hpp:6
PlayerMatchStats::score
int score
Definition
PlayerMatchStats.hpp:7
PlayerMatchStats::deaths
int deaths
Definition
PlayerMatchStats.hpp:9
PlayerMatchStats::hasWon
bool hasWon
Definition
PlayerMatchStats.hpp:10
PlayerMatchStats::kills
int kills
Definition
PlayerMatchStats.hpp:8
src
ecs
components
PlayerMatchStats.hpp
Generated by
1.9.8