diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-03-08 20:03:40 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-03-08 20:03:40 +0000 |
commit | a32a8447028798ef05af33230fbcfa3195ab430c (patch) | |
tree | b311ea9623ac1816f48bdc1cd1f9a8f1d78091a4 /game/objectives | |
parent | Shut up cppcheck, an STL implementation of that would be stupid (diff) | |
download | ilt-a32a8447028798ef05af33230fbcfa3195ab430c.tar.bz2 ilt-a32a8447028798ef05af33230fbcfa3195ab430c.tar.xz ilt-a32a8447028798ef05af33230fbcfa3195ab430c.zip |
Initial commit of the orders/activities system
Has the main window provide some control over our test train
Diffstat (limited to 'game/objectives')
-rw-r--r-- | game/objectives/freeroam.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/game/objectives/freeroam.h b/game/objectives/freeroam.h new file mode 100644 index 0000000..c97d9b4 --- /dev/null +++ b/game/objectives/freeroam.h @@ -0,0 +1,18 @@ +#ifndef FREEROAM_H +#define FREEROAM_H + +#include "game/activities/go.h" +#include "game/objective.h" + +class FreeRoam : public Objective { +public: + using Objective::Objective; + + [[nodiscard]] ActivityPtr + createActivity() const override + { + return std::make_unique<Go>(); + } +}; + +#endif |