The Battle for Wesnoth  1.19.5+dev
Public Member Functions | Private Attributes | List of all members
ai::command_history_item Class Reference

AI Command History Item. More...

#include <manager.hpp>

Public Member Functions

 command_history_item (int number, const std::string &command)
 
int get_number () const
 
const std::string & get_command () const
 

Private Attributes

int number_
 
std::string command_
 

Detailed Description

AI Command History Item.

It is an implementation detail. See TODOs above.

Definition at line 90 of file manager.hpp.

Constructor & Destructor Documentation

◆ command_history_item()

ai::command_history_item::command_history_item ( int  number,
const std::string &  command 
)
inline

Definition at line 93 of file manager.hpp.

Member Function Documentation

◆ get_command()

const std::string& ai::command_history_item::get_command ( ) const
inline

Definition at line 99 of file manager.hpp.

References command_.

◆ get_number()

int ai::command_history_item::get_number ( ) const
inline

Definition at line 97 of file manager.hpp.

References number_.

Member Data Documentation

◆ command_

std::string ai::command_history_item::command_
private

Definition at line 103 of file manager.hpp.

Referenced by get_command().

◆ number_

int ai::command_history_item::number_
private

Definition at line 102 of file manager.hpp.

Referenced by get_number().


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