This policy tries to visit the current level. More...
#include <policy_visit.hpp>
Public Member Functions | |
walker_base::state_t | next (walker_base &visitor) |
Acts like walker_base::next for the level where the policy is used. More... | |
bool | at_end (const walker_base &visitor) const |
Acts like walker_base::at_end for the level where the policy is used. More... | |
gui2::widget * | get (walker_base &visitor) |
Acts like walker_base::get for the level where the policy is used. More... | |
This policy tries to visit the current level.
level | The level to visit. |
Definition at line 65 of file policy_visit.hpp.
|
inline |
Acts like walker_base::at_end for the level where the policy is used.
Definition at line 79 of file policy_visit.hpp.
References gui2::iteration::walker_base::at_end(), and game_config::images::level.
|
inline |
Acts like walker_base::get for the level where the policy is used.
Definition at line 87 of file policy_visit.hpp.
References gui2::iteration::walker_base::get(), and game_config::images::level.
|
inline |
Acts like walker_base::next for the level where the policy is used.
Definition at line 71 of file policy_visit.hpp.
References game_config::images::level, and gui2::iteration::walker_base::next().