C++ Joueur Client
 All Classes Namespaces Functions Variables
cpp_client::Base_ai Class Reference
Inheritance diagram for cpp_client::Base_ai:
cpp_client::anarchy::AI cpp_client::catastrophe::AI cpp_client::checkers::AI cpp_client::chess::AI cpp_client::coreminer::AI cpp_client::necrowar::AI cpp_client::newtonian::AI cpp_client::pirates::AI cpp_client::saloon::AI cpp_client::spiders::AI cpp_client::stardash::AI cpp_client::stumped::AI

Public Member Functions

const std::string & get_setting (const char *key) const noexcept
 Gets an AI setting passed to the program via the '–aiSettings' flag. Returns the empty string if the key was not set More...
 
const std::string & get_setting (const std::string &key) const noexcept
 

Friends

void Base_game::set_ai_parameters (const std::string &params)
 

Member Function Documentation

const std::string & cpp_client::Base_ai::get_setting ( const char *  key) const
noexcept

Gets an AI setting passed to the program via the '–aiSettings' flag. Returns the empty string if the key was not set

Parameters
keyThe key of the setting to retrieve the value for.
Returns
The string value set, or the empty string if none.

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