48 std::map<side, chess_color> m_color;
51 std::map<side, race> m_race;
chess_color
A chess piece color.
Definition chess_color.h:10
The options that are set in the lobby.
Definition lobby_options.h:16
chess_color get_color(const side player_side) const noexcept
Get the chess color of a player.
Definition lobby_options.cpp:19
void set_race(const race r, const side player_side) noexcept
Get the chess color of a player.
Definition lobby_options.cpp:49
void set_color(const chess_color color, const side player_side) noexcept
Set the chess color of a player.
Definition lobby_options.cpp:43
friend void test_lobby_options()
To use the constructor.
Definition lobby_options.cpp:54
side get_side(const chess_color player_color) const noexcept
Get the side of a player color.
Definition lobby_options.cpp:36
race get_race(const chess_color player_color) const noexcept
Get the race of a player color.
Definition lobby_options.cpp:24
std::ostream & operator<<(std::ostream &os, const lobby_options &options) noexcept
Definition lobby_options.cpp:164
void test_lobby_options()
Test this class and its free functions.
Definition lobby_options.cpp:54
race
The chess race.
Definition race.h:10
side
The side the player/piece is on.
Definition side.h:11