summaryrefslogtreecommitdiff
path: root/game/objectives/freeroam.h
diff options
context:
space:
mode:
Diffstat (limited to 'game/objectives/freeroam.h')
-rw-r--r--game/objectives/freeroam.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/game/objectives/freeroam.h b/game/objectives/freeroam.h
index c97d9b4..2cfdcfc 100644
--- a/game/objectives/freeroam.h
+++ b/game/objectives/freeroam.h
@@ -1,18 +1,16 @@
#ifndef FREEROAM_H
#define FREEROAM_H
-#include "game/activities/go.h"
-#include "game/objective.h"
+#include <game/activity.h>
+#include <game/network/link.h>
+#include <game/objective.h>
class FreeRoam : public Objective {
public:
using Objective::Objective;
- [[nodiscard]] ActivityPtr
- createActivity() const override
- {
- return std::make_unique<Go>();
- }
+ [[nodiscard]] ActivityPtr createActivity() const override;
+ [[nodiscard]] Link::Next navigate(Link::Nexts::const_iterator, Link::Nexts::const_iterator) const override;
};
#endif