blob: acd5e48c32a5edd0b30a49a5eec14eda224b9d64 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#pragma once
#include <game/activity.h>
#include <game/network/link.h>
#include <game/objective.h>
class Orders;
class GoTo : public Objective {
public:
GoTo(Orders * os, const Link::End &, float, const NodePtr & dest);
[[nodiscard]] ActivityPtr createActivity() const override;
[[nodiscard]] Link::Next navigate(Link::Nexts::const_iterator, Link::Nexts::const_iterator) const override;
private:
Link::Nexts links;
float startDist;
};
|