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

The games' textures. More...

#include <textures.h>

Public Member Functions

 textures ()
 
int get_n_textures () const noexcept
 
sf::Texture & get_strip (const chess_color color) noexcept
 Get a strip of chess board squares.
 
sf::Texture & get_square (const chess_color color) noexcept
 Get a chess board square.
 
sf::Texture & get_subtitle () noexcept
 Get the subtitle image.
 
sf::Texture & get_title () noexcept
 Get the title image.
 
sf::Texture & get_occupied_square (const chess_color square_color, const chess_color occupant_color) noexcept
 Get an occupied chess board square.
 
sf::Texture & get_occupied_square_semitransparent (const chess_color square_color, const chess_color occupant_color) noexcept
 Get an occupied chess board square.
 
sf::Texture & get_semitransparent_square (const chess_color color) noexcept
 Get a semitransparent chess board square.
 

Detailed Description

The games' textures.

Constructor & Destructor Documentation

◆ textures()

textures::textures ( )

Member Function Documentation

◆ get_n_textures()

int textures::get_n_textures ( ) const
inlinenoexcept

◆ get_occupied_square()

sf::Texture & textures::get_occupied_square ( const chess_color  square_color,
const chess_color  occupant_color 
)
noexcept

Get an occupied chess board square.

◆ get_occupied_square_semitransparent()

sf::Texture & textures::get_occupied_square_semitransparent ( const chess_color  square_color,
const chess_color  occupant_color 
)
noexcept

Get an occupied chess board square.

◆ get_semitransparent_square()

sf::Texture & textures::get_semitransparent_square ( const chess_color  color)
noexcept

Get a semitransparent chess board square.

◆ get_square()

sf::Texture & textures::get_square ( const chess_color  color)
noexcept

Get a chess board square.

◆ get_strip()

sf::Texture & textures::get_strip ( const chess_color  color)
noexcept

Get a strip of chess board squares.

◆ get_subtitle()

sf::Texture & textures::get_subtitle ( )
inlinenoexcept

Get the subtitle image.

◆ get_title()

sf::Texture & textures::get_title ( )
inlinenoexcept

Get the title image.


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