ai::target Struct Reference

#include <ai.hpp>

Collaboration diagram for ai::target:

Collaboration graph
[legend]

List of all members.

Public Types

enum  TYPE {
  VILLAGE, LEADER, EXPLICIT, THREAT,
  BATTLE_AID, MASS, SUPPORT
}

Public Member Functions

 target (const location &pos, double val, TYPE target_type=VILLAGE)

Public Attributes

location loc
double value
TYPE type


Detailed Description

Definition at line 35 of file ai.hpp.


Member Enumeration Documentation

Enumerator:
VILLAGE 
LEADER 
EXPLICIT 
THREAT 
BATTLE_AID 
MASS 
SUPPORT 

Definition at line 36 of file ai.hpp.


Constructor & Destructor Documentation

ai::target::target ( const location pos,
double  val,
TYPE  target_type = VILLAGE 
) [inline]

Definition at line 38 of file ai.hpp.


Member Data Documentation

Definition at line 40 of file ai.hpp.

Definition at line 41 of file ai.hpp.

Definition at line 43 of file ai.hpp.


The documentation for this struct 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