Public Member Functions | Public Attributes

unstore_unit_advance_choice Struct Reference

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

List of all members.

Public Member Functions

 unstore_unit_advance_choice (int o, const map_location &l, bool d)
virtual config query_user () const
virtual config random_choice (rand_rng::simple_rng &rng) const

Public Attributes

int nb_options
map_location loc
bool use_dialog

Detailed Description

Definition at line 2305 of file game_events.cpp.


Constructor & Destructor Documentation

unstore_unit_advance_choice::unstore_unit_advance_choice ( int  o,
const map_location l,
bool  d 
) [inline]

Definition at line 2311 of file game_events.cpp.


Member Function Documentation

virtual config unstore_unit_advance_choice::query_user (  )  const [inline, virtual]

Implements mp_sync::user_choice.

Definition at line 2315 of file game_events.cpp.

References dialogs::advance_unit_dialog(), DBG_NG, loc, nb_options, game_config::images::selected, and use_dialog.

Here is the call graph for this function:

virtual config unstore_unit_advance_choice::random_choice ( rand_rng::simple_rng rng  )  const [inline, virtual]

Implements mp_sync::user_choice.

Definition at line 2330 of file game_events.cpp.

References rand_rng::simple_rng::get_next_random(), and nb_options.

Here is the call graph for this function:


Member Data Documentation

Definition at line 2308 of file game_events.cpp.

Referenced by query_user().

Definition at line 2307 of file game_events.cpp.

Referenced by query_user(), and random_choice().

Definition at line 2309 of file game_events.cpp.

Referenced by query_user().


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

Generated by doxygen 1.7.1 on Fri May 25 2012 01:16:09 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs