#include <contexts.hpp>
Public Member Functions | |
MAKE_ENUM (TYPE,(VILLAGE,"village")(LEADER,"leader")(EXPLICIT,"explicit")(THREAT,"threat")(BATTLE_AID,"battle aid")(MASS,"mass")(SUPPORT,"support")) | |
target (const map_location &pos, double val, TYPE target_type=TYPE::VILLAGE) | |
Public Attributes | |
map_location | loc |
double | value |
TYPE | type |
Definition at line 41 of file contexts.hpp.
|
inline |
Definition at line 52 of file contexts.hpp.
ai::target::MAKE_ENUM | ( | TYPE | , |
(VILLAGE,"village")(LEADER,"leader")(EXPLICIT,"explicit")(THREAT,"threat")(BATTLE_AID,"battle aid")(MASS,"mass")(SUPPORT,"support") | |||
) |
map_location ai::target::loc |
Definition at line 54 of file contexts.hpp.
Referenced by ai::ai_default_rca::move_to_targets_phase::choose_move(), ai::ai_default_rca::remove_wrong_targets::operator()(), and ai::ai_default_rca::move_to_targets_phase::rate_target().
TYPE ai::target::type |
Definition at line 57 of file contexts.hpp.
Referenced by ai::ai_default_rca::move_to_targets_phase::rate_target().
double ai::target::value |
Definition at line 55 of file contexts.hpp.
Referenced by ai::ai_default_rca::move_to_targets_phase::choose_move(), ai::ai_default_rca::remove_wrong_targets::operator()(), and ai::ai_default_rca::move_to_targets_phase::rate_target().