From d39c6dd18248927044d2f75cefd2ed8ba12eb3b7 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Tue, 9 Mar 2021 01:21:46 +0000 Subject: Make objectives responsible for navigation --- game/objective.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'game/objective.h') diff --git a/game/objective.h b/game/objective.h index e4fd6d4..5b3690e 100644 --- a/game/objective.h +++ b/game/objective.h @@ -2,6 +2,7 @@ #define OBJECTIVE_H #include "activity.h" +#include "network/link.h" #include #include @@ -15,6 +16,7 @@ public: [[nodiscard]] virtual Objective * complete() const; [[nodiscard]] virtual ActivityPtr createActivity() const = 0; + [[nodiscard]] virtual Link::Next navigate(Link::Nexts::const_iterator, Link::Nexts::const_iterator) const = 0; Orders * orders; }; -- cgit v1.2.3