The Battle for Wesnoth  1.19.5+dev
Public Member Functions | Private Attributes | List of all members
wb::highlighter::highlight_main_visitor Class Reference

#include <highlighter.hpp>

Inheritance diagram for wb::highlighter::highlight_main_visitor:

Public Member Functions

 highlight_main_visitor (highlighter &h)
 
void visit (move_ptr)
 
void visit (attack_ptr)
 
void visit (recruit_ptr)
 
void visit (recall_ptr)
 
void visit (suppose_dead_ptr)
 

Private Attributes

highlighterhighlighter_
 

Additional Inherited Members

- Protected Member Functions inherited from wb::visitor
virtual ~visitor ()
 

Detailed Description

Definition at line 94 of file highlighter.hpp.

Constructor & Destructor Documentation

◆ highlight_main_visitor()

wb::highlighter::highlight_main_visitor::highlight_main_visitor ( highlighter h)
inline

Definition at line 96 of file highlighter.hpp.

Member Function Documentation

◆ visit() [1/5]

void wb::highlighter::highlight_main_visitor::visit ( attack_ptr  attack)
virtual

Implements wb::visitor.

Definition at line 283 of file highlighter.cpp.

◆ visit() [2/5]

void wb::highlighter::highlight_main_visitor::visit ( move_ptr  move)
virtual

◆ visit() [3/5]

void wb::highlighter::highlight_main_visitor::visit ( recall_ptr  )
inlinevirtual
Todo:
: find some suitable effect for mouseover on planned recall.

Implements wb::visitor.

Definition at line 101 of file highlighter.hpp.

◆ visit() [4/5]

void wb::highlighter::highlight_main_visitor::visit ( recruit_ptr  recruit)
virtual

◆ visit() [5/5]

void wb::highlighter::highlight_main_visitor::visit ( suppose_dead_ptr  )
inlinevirtual

Implements wb::visitor.

Definition at line 102 of file highlighter.hpp.

Member Data Documentation

◆ highlighter_

highlighter& wb::highlighter::highlight_main_visitor::highlighter_
private

Definition at line 104 of file highlighter.hpp.

Referenced by visit().


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