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 41 of file shroud_clearing_action.hpp.
|
inline |
Definition at line 27 of file shroud_clearing_action.hpp.
References read_locations(), and route.
|
inline |
Definition at line 34 of file shroud_clearing_action.hpp.
|
inline |
Definition at line 43 of file shroud_clearing_action.hpp.
|
inlinevirtual |
Definition at line 64 of file shroud_clearing_action.hpp.
|
inline |
Definition at line 58 of file shroud_clearing_action.hpp.
References config::add_child(), 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 54 of file shroud_clearing_action.hpp.
Referenced by shroud_clearing_action(), 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 56 of file shroud_clearing_action.hpp.
Referenced by write().