base class for classes that clear srhoud (move/recruit/recall) More...
#include <shroud_clearing_action.hpp>
Public Types | |
| typedef std::vector< map_location > | route_t |
Public Member Functions | |
| shroud_clearing_action (const config &cfg) | |
| shroud_clearing_action (const unit_const_ptr u, const map_location &loc) | |
| shroud_clearing_action (const unit_const_ptr u, const route_t::const_iterator &begin, const route_t::const_iterator &end) | |
| void | write (config &cfg) const |
| virtual | ~shroud_clearing_action () |
Public Attributes | |
| route_t | route |
| The hexes occupied by the affected unit during this action. More... | |
| clearer_info | view_info |
| A record of the affected unit's ability to see. More... | |
base class for classes that clear srhoud (move/recruit/recall)
Definition at line 24 of file shroud_clearing_action.hpp.
| typedef std::vector<map_location> actions::shroud_clearing_action::route_t |
Definition at line 38 of file shroud_clearing_action.hpp.
|
inline |
Definition at line 26 of file shroud_clearing_action.hpp.
|
inline |
Definition at line 32 of file shroud_clearing_action.hpp.
|
inline |
Definition at line 40 of file shroud_clearing_action.hpp.
|
inlinevirtual |
Definition at line 60 of file shroud_clearing_action.hpp.
|
inline |
Definition at line 54 of file shroud_clearing_action.hpp.
References config::add_child(), cfg, route, view_info, actions::clearer_info::write(), and write_locations().
Referenced by actions::undo::move_action::write(), actions::undo::recall_action::write(), and actions::undo::recruit_action::write().
| route_t actions::shroud_clearing_action::route |
The hexes occupied by the affected unit during this action.
For recruits and recalls this only contains one hex.
Definition at line 50 of file shroud_clearing_action.hpp.
Referenced by actions::undo::move_action::undo(), actions::undo::recall_action::undo(), actions::undo::recruit_action::undo(), and write().
| clearer_info actions::shroud_clearing_action::view_info |
A record of the affected unit's ability to see.
Definition at line 52 of file shroud_clearing_action.hpp.
Referenced by write().