The Battle for Wesnoth  1.19.5+dev
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 89 of file contexts.hpp.

Constructor & Destructor Documentation

◆ defensive_position()

ai::defensive_position::defensive_position ( )
inline

Definition at line 90 of file contexts.hpp.

Member Data Documentation

◆ chance_to_hit

int ai::defensive_position::chance_to_hit

◆ loc

map_location ai::defensive_position::loc

Definition at line 97 of file contexts.hpp.

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

◆ support

double ai::defensive_position::support

Definition at line 99 of file contexts.hpp.

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

◆ vulnerability

double ai::defensive_position::vulnerability

Definition at line 99 of file contexts.hpp.

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


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