#include <contexts.hpp>

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 |
Definition at line 37 of file contexts.hpp.
| enum ai::target::TYPE |
Definition at line 38 of file contexts.hpp.
| ai::target::target | ( | const map_location & | pos, | |
| double | val, | |||
| TYPE | target_type = VILLAGE | |||
| ) | [inline] |
Definition at line 40 of file contexts.hpp.
Definition at line 42 of file contexts.hpp.
Referenced by ai::testing_ai_default::testing_move_to_targets_phase::choose_move(), ai::testing_ai_default::remove_wrong_targets::operator()(), ai::remove_wrong_targets::operator()(), and ai::testing_ai_default::testing_move_to_targets_phase::rate_target().
Definition at line 45 of file contexts.hpp.
Referenced by ai::testing_ai_default::testing_move_to_targets_phase::rate_target().
| double ai::target::value |
Definition at line 43 of file contexts.hpp.
Referenced by ai::testing_ai_default::testing_move_to_targets_phase::choose_move(), ai::testing_ai_default::remove_wrong_targets::operator()(), ai::remove_wrong_targets::operator()(), and ai::testing_ai_default::testing_move_to_targets_phase::rate_target().
| Generated by doxygen 1.7.1 on Fri May 25 2012 01:17:35 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |