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

Options on how to convert a chessboard to text. More...

#include <board_to_text_options.h>

Public Member Functions

 board_to_text_options (const bool shows_coordinats=false, const bool shows_legend=false) noexcept
 
bool get_show_coordinats () const noexcept
 
bool get_show_legend () const noexcept
 
void set_show_coordinats (const bool show_coordinats) noexcept
 
void set_show_legend (const bool show_legend) noexcept
 

Detailed Description

Options on how to convert a chessboard to text.

This is, for example, used for debugging, where a plain-text chessboard can be shown.

Constructor & Destructor Documentation

◆ board_to_text_options()

board_to_text_options::board_to_text_options ( const bool  shows_coordinats = false,
const bool  shows_legend = false 
)
explicitnoexcept

Member Function Documentation

◆ get_show_coordinats()

bool board_to_text_options::get_show_coordinats ( ) const
inlinenoexcept

◆ get_show_legend()

bool board_to_text_options::get_show_legend ( ) const
inlinenoexcept

◆ set_show_coordinats()

void board_to_text_options::set_show_coordinats ( const bool  show_coordinats)
inlinenoexcept

◆ set_show_legend()

void board_to_text_options::set_show_legend ( const bool  show_legend)
inlinenoexcept

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