Public Member Functions | Private Attributes

attack_prediction_displayer Class Reference

#include <attack_prediction_display.hpp>

Inheritance diagram for attack_prediction_displayer:
Inheritance graph
[legend]
Collaboration diagram for attack_prediction_displayer:
Collaboration graph
[legend]

List of all members.

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)

Private Attributes

const std::vector
< battle_context > & 
bc_vector_
const map_locationattacker_loc_
const map_locationdefender_loc_

Detailed Description

Definition at line 119 of file attack_prediction_display.hpp.


Constructor & Destructor Documentation

attack_prediction_displayer::attack_prediction_displayer ( const std::vector< battle_context > &  bc_vector,
const map_location attacker_loc,
const map_location defender_loc 
) [inline]

Definition at line 122 of file attack_prediction_display.hpp.


Member Function Documentation

attack_prediction_displayer::RESULT attack_prediction_displayer::button_pressed ( int  selection  )  [virtual]

Implements gui::dialog_button_action.

Definition at line 535 of file attack_prediction_display.cpp.

References _, attacker_loc_, bc_vector_, defender_loc_, gui::OK_ONLY, resources::screen, and gui::show_dialog().

Here is the call graph for this function:


Member Data Documentation

Definition at line 131 of file attack_prediction_display.hpp.

Referenced by button_pressed().

Definition at line 130 of file attack_prediction_display.hpp.

Referenced by button_pressed().

Definition at line 132 of file attack_prediction_display.hpp.

Referenced by button_pressed().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by doxygen 1.7.1 on Thu May 24 2012 01:13:04 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs