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

Textures of the chess pieces. More...

#include <piece_textures.h>

Public Member Functions

 piece_textures ()
 
std::string get_filename (const race race, const chess_color color, const piece_type type) const noexcept
 
int get_n_textures () const noexcept
 
sf::Texture & get_piece (const race race, const chess_color color, const piece_type type)
 Get texture of a piece.
 

Detailed Description

Textures of the chess pieces.

Constructor & Destructor Documentation

◆ piece_textures()

piece_textures::piece_textures ( )

Member Function Documentation

◆ get_filename()

std::string piece_textures::get_filename ( const race  race,
const chess_color  color,
const piece_type  type 
) const
noexcept

◆ get_n_textures()

int piece_textures::get_n_textures ( ) const
inlinenoexcept

◆ get_piece()

sf::Texture & piece_textures::get_piece ( const race  race,
const chess_color  color,
const piece_type  type 
)

Get texture of a piece.


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