summaryrefslogtreecommitdiff
path: root/game/activities/go.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-03-16 18:29:37 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2021-03-16 18:29:37 +0000
commitea35e8ede4c3a522375d4539c872e8a6d6c9830a (patch)
treeb0569f5ffe9b92b407bde67f501a0a79a2cf78e5 /game/activities/go.h
parentAllow activities to be changed when doing them (diff)
downloadilt-ea35e8ede4c3a522375d4539c872e8a6d6c9830a.tar.bz2
ilt-ea35e8ede4c3a522375d4539c872e8a6d6c9830a.tar.xz
ilt-ea35e8ede4c3a522375d4539c872e8a6d6c9830a.zip
Implement goto so node
Encompasses determining a route and a distance to travel
Diffstat (limited to 'game/activities/go.h')
-rw-r--r--game/activities/go.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/game/activities/go.h b/game/activities/go.h
index 858b804..54af31b 100644
--- a/game/activities/go.h
+++ b/game/activities/go.h
@@ -1,10 +1,16 @@
#ifndef GO_H
#define GO_H
+#include "../activity.h"
#include "../activityOf.h"
+#include <optional>
class Go : public Activity::Of<Go> {
public:
+ Go() = default;
+ explicit Go(float dist);
+
+ std::optional<float> dist;
};
#endif