The tips of day structure. More...
#include <tips.hpp>
Public Member Functions | |
game_tip (const t_string &text, const t_string &source, const std::string &unit_filter) | |
const t_string & | text () const |
const t_string & | source () const |
Private Attributes | |
t_string | text_ |
The text of the tip. More... | |
t_string | source_ |
The source of the tip. More... | |
std::vector< std::string > | unit_filter_ |
List of units to filter the tip upon. More... | |
Friends | |
std::vector< game_tip > | tip_of_the_day::load (const config &) |
std::vector< game_tip > | tip_of_the_day::shuffle (const std::vector< game_tip > &tips) |
|
inline |
|
inline |
|
friend |
|
friend |
|
private |
|
private |
|
private |