#include <attack_prediction_display.hpp>
Public Member Functions | |
attack_prediction_displayer (const std::vector< battle_context > &bc_vector, const map_location &attacker_loc, const map_location &defender_loc) | |
RESULT | button_pressed (int selection) |
Public Member Functions inherited from gui::dialog_button_action | |
virtual | ~dialog_button_action () |
Private Attributes | |
const std::vector < battle_context > & | bc_vector_ |
const map_location & | attacker_loc_ |
const map_location & | defender_loc_ |
Additional Inherited Members | |
Public Types inherited from gui::dialog_button_action | |
typedef DIALOG_RESULT | RESULT |
Definition at line 114 of file attack_prediction_display.hpp.
|
inline |
Definition at line 117 of file attack_prediction_display.hpp.
|
virtual |
Implements gui::dialog_button_action.
Definition at line 527 of file attack_prediction_display.cpp.
References _(), attacker_loc_, bc_vector_, gui::CONTINUE_DIALOG, defender_loc_, gui::OK_ONLY, resources::screen, and gui::show_dialog().
Referenced by gui2::tunit_attack::damage_calc_callback().
|
private |
Definition at line 126 of file attack_prediction_display.hpp.
Referenced by button_pressed().
|
private |
Definition at line 125 of file attack_prediction_display.hpp.
Referenced by button_pressed().
|
private |
Definition at line 127 of file attack_prediction_display.hpp.
Referenced by button_pressed().