The Battle for Wesnoth  1.15.2+dev
Public Member Functions | Public Attributes | List of all members
pathfind::marked_route::mark Struct Reference

#include <pathfind.hpp>

Public Member Functions

 mark (int turns_number=0, bool in_zoc=false, bool do_capture=false, bool is_invisible=false)
 
bool operator== (const mark &m) const
 

Public Attributes

int turns
 
bool zoc
 
bool capture
 
bool invisible
 

Detailed Description

Definition at line 167 of file pathfind.hpp.

Constructor & Destructor Documentation

◆ mark()

pathfind::marked_route::mark::mark ( int  turns_number = 0,
bool  in_zoc = false,
bool  do_capture = false,
bool  is_invisible = false 
)
inline

Definition at line 169 of file pathfind.hpp.

Member Function Documentation

◆ operator==()

bool pathfind::marked_route::mark::operator== ( const mark m) const
inline

Definition at line 178 of file pathfind.hpp.

References capture, invisible, turns, and zoc.

Member Data Documentation

◆ capture

bool pathfind::marked_route::mark::capture

Definition at line 175 of file pathfind.hpp.

Referenced by operator==().

◆ invisible

bool pathfind::marked_route::mark::invisible

Definition at line 176 of file pathfind.hpp.

Referenced by operator==().

◆ turns

int pathfind::marked_route::mark::turns

Definition at line 173 of file pathfind.hpp.

Referenced by operator==().

◆ zoc

bool pathfind::marked_route::mark::zoc

Definition at line 174 of file pathfind.hpp.

Referenced by operator==().


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