#include <tips.hpp>
Public Member Functions | |
| game_tip (const config &cfg) | |
Public Attributes | |
| t_string | text |
| The text of the tip. | |
| t_string | source |
| The source of the tip. | |
| std::vector< std::string > | unit_filter |
| List of units to filter the tip upon. | |
| std::vector<std::string> gui2::game_tip::unit_filter |
List of units to filter the tip upon.
If the list is empty the tip is shown. Else the unit must have encountered at least one of the units in the list.
Definition at line 68 of file tips.hpp.
Referenced by gui2::tip_of_the_day::shuffle().