The Battle for Wesnoth  1.15.1+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 141 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 142 of file vision.cpp.

Member Data Documentation

◆ seen_id

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

Definition at line 148 of file vision.cpp.

◆ seen_loc

map_location actions::shroud_clearer::sight_data::seen_loc

Definition at line 149 of file vision.cpp.

◆ sighter_id

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

Definition at line 150 of file vision.cpp.

◆ sighter_loc

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: