Public Member Functions | Private Attributes

game_events::entity_location Struct Reference

#include <game_events.hpp>

Inheritance diagram for game_events::entity_location:
Inheritance graph
[legend]
Collaboration diagram for game_events::entity_location:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 entity_location (const map_location &loc, size_t id=0)
 entity_location (const unit &)
bool requires_unit () const
bool matches_unit (const unit &u) const

Private Attributes

size_t id_

Detailed Description

Definition at line 63 of file game_events.hpp.


Constructor & Destructor Documentation

game_events::entity_location::entity_location ( const map_location loc,
size_t  id = 0 
)

Definition at line 3631 of file game_events.cpp.

game_events::entity_location::entity_location ( const unit u  )  [explicit]

Definition at line 3635 of file game_events.cpp.


Member Function Documentation

bool game_events::entity_location::matches_unit ( const unit u  )  const

Definition at line 3639 of file game_events.cpp.

References id_, and unit::underlying_id().

Referenced by process_event(), and WML_HANDLER_FUNCTION().

Here is the call graph for this function:

Here is the caller graph for this function:

bool game_events::entity_location::requires_unit (  )  const

Definition at line 3644 of file game_events.cpp.

References id_.

Referenced by process_event().

Here is the caller graph for this function:


Member Data Documentation

Definition at line 69 of file game_events.hpp.

Referenced by matches_unit(), and requires_unit().


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

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