The Battle for Wesnoth  1.19.0-dev
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 (std::size_t viewed_id, const map_location &viewed_loc, std::size_t viewer_id, const map_location &viewer_loc)
 

Public Attributes

std::size_t seen_id
 
map_location seen_loc
 
std::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 137 of file vision.cpp.

Constructor & Destructor Documentation

◆ sight_data()

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

Definition at line 138 of file vision.cpp.

Member Data Documentation

◆ seen_id

std::size_t actions::shroud_clearer::sight_data::seen_id

Definition at line 144 of file vision.cpp.

◆ seen_loc

map_location actions::shroud_clearer::sight_data::seen_loc

Definition at line 145 of file vision.cpp.

◆ sighter_id

std::size_t actions::shroud_clearer::sight_data::sighter_id

Definition at line 146 of file vision.cpp.

◆ sighter_loc

map_location actions::shroud_clearer::sight_data::sighter_loc

Definition at line 147 of file vision.cpp.


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