Whiteboard/manager: added method to return the highlight visitor instance.
This commit is contained in:
parent
efa890e45a
commit
5fec2fe97f
1 changed files with 3 additions and 1 deletions
|
@ -125,6 +125,8 @@ public:
|
|||
/** Deletes all planned actions for all teams */
|
||||
void erase_all_actions();
|
||||
|
||||
boost::weak_ptr<highlight_visitor> get_highlighter() { return highlighter_; }
|
||||
|
||||
/** Checks whether the specified unit has at least one planned action */
|
||||
bool unit_has_actions(const unit& unit) const;
|
||||
|
||||
|
@ -157,7 +159,7 @@ private:
|
|||
bool gamestate_mutated_;
|
||||
|
||||
boost::scoped_ptr<mapbuilder_visitor> mapbuilder_;
|
||||
boost::scoped_ptr<highlight_visitor> highlighter_;
|
||||
boost::shared_ptr<highlight_visitor> highlighter_;
|
||||
|
||||
boost::scoped_ptr<pathfind::marked_route> route_;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue