diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-03-09 01:21:46 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-03-09 01:21:46 +0000 |
commit | d39c6dd18248927044d2f75cefd2ed8ba12eb3b7 (patch) | |
tree | 49f165919282a3791d2545d2f18aaf9549586e95 /game/objective.h | |
parent | Split ActivityOf<> into its own file (diff) | |
download | ilt-d39c6dd18248927044d2f75cefd2ed8ba12eb3b7.tar.bz2 ilt-d39c6dd18248927044d2f75cefd2ed8ba12eb3b7.tar.xz ilt-d39c6dd18248927044d2f75cefd2ed8ba12eb3b7.zip |
Make objectives responsible for navigation
Diffstat (limited to 'game/objective.h')
-rw-r--r-- | game/objective.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 <memory> #include <special_members.hpp> @@ -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; }; |