Conquer Chess
Chess and Starcraft combined
Loading...
Searching...
No Matches
Public Member Functions | List of all members
lobby_menu_textures Class Reference

The textures used in the Lobby dialog. More...

#include <lobby_menu_textures.h>

Public Member Functions

 lobby_menu_textures ()
 
sf::Texture & get_color (const chess_color color) noexcept
 Get an abstract chess color.
 
std::string get_color_filename (const chess_color race) const noexcept
 
sf::Texture & get_head (const race r) noexcept
 Get the head of a representative of the race.
 
std::string get_head_filename (const race race) const noexcept
 
sf::Texture & get_ready (const bool is_ready) noexcept
 Get a texture to state if the person is ready yes/no.
 
std::string get_ready_filename (const bool is_ready) const noexcept
 
int get_n_textures () const noexcept
 

Detailed Description

The textures used in the Lobby dialog.

Constructor & Destructor Documentation

◆ lobby_menu_textures()

lobby_menu_textures::lobby_menu_textures ( )

Member Function Documentation

◆ get_color()

sf::Texture & lobby_menu_textures::get_color ( const chess_color  color)
noexcept

Get an abstract chess color.

◆ get_color_filename()

std::string lobby_menu_textures::get_color_filename ( const chess_color  race) const
noexcept

◆ get_head()

sf::Texture & lobby_menu_textures::get_head ( const race  r)
noexcept

Get the head of a representative of the race.

◆ get_head_filename()

std::string lobby_menu_textures::get_head_filename ( const race  race) const
noexcept

◆ get_n_textures()

int lobby_menu_textures::get_n_textures ( ) const
inlinenoexcept

◆ get_ready()

sf::Texture & lobby_menu_textures::get_ready ( const bool  is_ready)
noexcept

Get a texture to state if the person is ready yes/no.

◆ get_ready_filename()

std::string lobby_menu_textures::get_ready_filename ( const bool  is_ready) const
noexcept

The documentation for this class was generated from the following files: