mirror of
https://github.com/jorenchik/testing-spring-2024.git
synced 2025-10-21 20:10:36 +00:00
fix: Player constructor
This commit is contained in:
parent
bba9ddc04a
commit
37f78c20c4
@ -1,7 +1,6 @@
|
|||||||
#ifndef PREP_H
|
#ifndef PREP_H
|
||||||
#define PREP_H
|
#define PREP_H
|
||||||
|
|
||||||
#include <chrono>
|
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
#include <ctime>
|
#include <ctime>
|
||||||
#include <string>
|
#include <string>
|
||||||
@ -55,7 +54,7 @@ struct Player {
|
|||||||
Role role;
|
Role role;
|
||||||
PlayerStatus playerStatus;
|
PlayerStatus playerStatus;
|
||||||
|
|
||||||
Player(uint32_t id, std : string username, Role role, PlayerStatus playerStatus);
|
Player(uint32_t id, std::string username, Role role, PlayerStatus playerStatus);
|
||||||
bool operator==(const Player &other) const;
|
bool operator==(const Player &other) const;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user