The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
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::stringget_command () const
 

Private Attributes

int number_
 
std::string command_
 

Detailed Description

AI Command History Item.

It is an implementation detail

Definition at line 97 of file manager.hpp.

Constructor & Destructor Documentation

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

Definition at line 100 of file manager.hpp.

Member Function Documentation

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

Definition at line 106 of file manager.hpp.

References command_.

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

Definition at line 104 of file manager.hpp.

References number_.

Member Data Documentation

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

Definition at line 110 of file manager.hpp.

Referenced by get_command().

int ai::command_history_item::number_
private

Definition at line 109 of file manager.hpp.

Referenced by get_number().


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