ai2 Class Reference

#include <ai2.hpp>

Inheritance diagram for ai2:

Inheritance graph
[legend]
Collaboration diagram for ai2:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ai2 (ai_interface::info &info)
virtual ~ai2 ()
virtual void play_turn ()
 Function that is called when the AI must play its turn.


Detailed Description

Definition at line 23 of file ai2.hpp.


Constructor & Destructor Documentation

ai2::ai2 ( ai_interface::info info  )  [inline]

Definition at line 26 of file ai2.hpp.

virtual ai2::~ai2 (  )  [inline, virtual]

Definition at line 28 of file ai2.hpp.


Member Function Documentation

virtual void ai2::play_turn (  )  [inline, virtual]

Function that is called when the AI must play its turn.

Derived classes should implement their AI algorithm in this function.

Implements ai_interface.

Definition at line 29 of file ai2.hpp.


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

Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs