The Battle for Wesnoth  1.19.1+dev
Public Member Functions | Public Attributes | List of all members
ai::target Struct Reference

#include <contexts.hpp>

Public Member Functions

 target (const map_location &pos, double val, ai_target::type target_type=ai_target::type::village)

Public Attributes

map_location loc
double value
ai_target::type type

Detailed Description

Definition at line 30 of file contexts.hpp.

Constructor & Destructor Documentation

◆ target()

ai::target::target ( const map_location pos,
double  val,
ai_target::type  target_type = ai_target::type::village 

Definition at line 31 of file contexts.hpp.

Member Data Documentation

◆ loc

map_location ai::target::loc

◆ type

ai_target::type ai::target::type

◆ value

double ai::target::value

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