The Battle for Wesnoth  1.13.10+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Public Attributes | List of all members
ai::defensive_position Struct Reference

#include <contexts.hpp>

Public Member Functions

 defensive_position ()
 

Public Attributes

map_location loc
 
int chance_to_hit
 
double vulnerability
 
double support
 

Detailed Description

Definition at line 101 of file contexts.hpp.

Constructor & Destructor Documentation

ai::defensive_position::defensive_position ( )
inline

Definition at line 102 of file contexts.hpp.

Member Data Documentation

int ai::defensive_position::chance_to_hit
map_location ai::defensive_position::loc

Definition at line 109 of file contexts.hpp.

Referenced by ai::readonly_context_impl::best_defensive_position().

double ai::defensive_position::support

Definition at line 111 of file contexts.hpp.

Referenced by ai::readonly_context_impl::best_defensive_position().

double ai::defensive_position::vulnerability

Definition at line 111 of file contexts.hpp.

Referenced by ai::readonly_context_impl::best_defensive_position().


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