Public Member Functions

ai::idle_stage Class Reference

#include <stage.hpp>

Inheritance diagram for ai::idle_stage:
Inheritance graph
[legend]
Collaboration diagram for ai::idle_stage:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 idle_stage (ai_context &context, const config &cfg)
 ~idle_stage ()
virtual bool do_play_stage ()
 Play the turn - implementation.

Detailed Description

Definition at line 92 of file stage.hpp.


Constructor & Destructor Documentation

ai::idle_stage::idle_stage ( ai_context context,
const config cfg 
)

Definition at line 100 of file stage.cpp.

ai::idle_stage::~idle_stage (  ) 

Definition at line 105 of file stage.cpp.


Member Function Documentation

bool ai::idle_stage::do_play_stage (  )  [virtual]

Play the turn - implementation.

Returns:
true only if game state has changed. Really only needed for ministages. Returning false is always safe.

Implements ai::stage.

Definition at line 109 of file stage.cpp.

References ai::side_context_proxy::get_side(), LOG_AI_STAGE, resources::tod_manager, and tod_manager::turn().

Here is the call graph for this function:


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by doxygen 1.7.1 on Thu May 24 2012 01:18:31 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs