The Battle for Wesnoth  1.19.0-dev
Public Member Functions | Private Attributes | List of all members
filter_with_unit Class Reference
Inheritance diagram for filter_with_unit:

Public Member Functions

 filter_with_unit (const terrain_filter &filt, const unit &ref)
bool operator() (const map_location &loc) const override

Private Attributes

const terrain_filterfilt_
const unitref_

Additional Inherited Members

- Protected Member Functions inherited from xy_pred
virtual ~xy_pred ()

Detailed Description

Definition at line 362 of file filter.cpp.

Constructor & Destructor Documentation

◆ filter_with_unit()

filter_with_unit::filter_with_unit ( const terrain_filter filt,
const unit ref 

Definition at line 366 of file filter.cpp.

Member Function Documentation

◆ operator()()

bool filter_with_unit::operator() ( const map_location loc) const

Implements xy_pred.

Definition at line 367 of file filter.cpp.

Member Data Documentation

◆ filt_

const terrain_filter& filter_with_unit::filt_

Definition at line 363 of file filter.cpp.

◆ ref_

const unit& filter_with_unit::ref_

Definition at line 364 of file filter.cpp.

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