![]() |
Conquer Chess
Chess and Starcraft combined
|
The options that are set in the lobby. More...
#include <lobby_options.h>
Public Member Functions | |
lobby_options (const chess_color lhs_color=chess_color::white, const race lhs_race=race::classic, const race rhs_race=race::classic) | |
chess_color | get_color (const side player_side) const noexcept |
Get the chess color of a player. | |
race | get_race (const chess_color player_color) const noexcept |
Get the race of a player color. | |
race | get_race (const side player_side) const noexcept |
Get the race of a player side. | |
side | get_side (const chess_color player_color) const noexcept |
Get the side of a player color. | |
void | set_color (const chess_color color, const side player_side) noexcept |
Set the chess color of a player. | |
void | set_race (const race r, const side player_side) noexcept |
Get the chess color of a player. | |
Friends | |
void | test_lobby_options () |
To use the constructor. | |
The options that are set in the lobby.
This is where the players decide on their colors and races.
lobby_options::lobby_options | ( | const chess_color | lhs_color = chess_color::white , |
const race | lhs_race = race::classic , |
||
const race | rhs_race = race::classic |
||
) |
|
noexcept |
Get the chess color of a player.
|
noexcept |
Get the race of a player color.
Get the race of a player side.
|
noexcept |
Get the side of a player color.
|
noexcept |
Set the chess color of a player.
Get the chess color of a player.
|
friend |
To use the constructor.