The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Public Attributes | List of all members
actions::shroud_clearer::sight_data Struct Reference

A record of a sighting event. More...

Public Member Functions

 sight_data (size_t viewed_id, const map_location &viewed_loc, size_t viewer_id, const map_location &viewer_loc)
 

Public Attributes

size_t seen_id
 
map_location seen_loc
 
size_t sighter_id
 
map_location sighter_loc
 

Detailed Description

A record of a sighting event.

Records the unit doing a sighting, the location of that unit at the time of the sighting, and the location of the sighted unit.

Definition at line 141 of file vision.cpp.

Constructor & Destructor Documentation

actions::shroud_clearer::sight_data::sight_data ( size_t  viewed_id,
const map_location viewed_loc,
size_t  viewer_id,
const map_location viewer_loc 
)
inline

Definition at line 142 of file vision.cpp.

Member Data Documentation

size_t actions::shroud_clearer::sight_data::seen_id

Definition at line 148 of file vision.cpp.

map_location actions::shroud_clearer::sight_data::seen_loc

Definition at line 149 of file vision.cpp.

size_t actions::shroud_clearer::sight_data::sighter_id

Definition at line 150 of file vision.cpp.

map_location actions::shroud_clearer::sight_data::sighter_loc

Definition at line 151 of file vision.cpp.


The documentation for this struct was generated from the following file: