Public Types | Public Member Functions | Public Attributes

ai::target Struct Reference

#include <contexts.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 map_location &pos, double val, TYPE target_type=VILLAGE)

Public Attributes

map_location loc
double value
TYPE type

Detailed Description

Definition at line 37 of file contexts.hpp.


Member Enumeration Documentation

Enumerator:
VILLAGE 
LEADER 
EXPLICIT 
THREAT 
BATTLE_AID 
MASS 
SUPPORT 

Definition at line 38 of file contexts.hpp.


Constructor & Destructor Documentation

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

Definition at line 40 of file contexts.hpp.


Member Data Documentation


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

Generated by doxygen 1.7.1 on Fri May 25 2012 01:17:35 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs