The Battle for Wesnoth  1.13.10+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::string & get_command () const

Private Attributes

int number_
std::string command_

Detailed Description

AI Command History Item.

It is an implementation detail

Definition at line 96 of file manager.hpp.

Constructor & Destructor Documentation

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

Definition at line 99 of file manager.hpp.

Member Function Documentation

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

Definition at line 105 of file manager.hpp.

References command_.

int ai::command_history_item::get_number ( ) const

Definition at line 103 of file manager.hpp.

References number_.

Member Data Documentation

std::string ai::command_history_item::command_

Definition at line 109 of file manager.hpp.

Referenced by get_command().

int ai::command_history_item::number_

Definition at line 108 of file manager.hpp.

Referenced by get_number().

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