aboutsummaryrefslogtreecommitdiff
path: root/StepTileBehavior.h
diff options
context:
space:
mode:
Diffstat (limited to 'StepTileBehavior.h')
-rw-r--r--StepTileBehavior.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/StepTileBehavior.h b/StepTileBehavior.h
new file mode 100644
index 0000000..d044fe7
--- /dev/null
+++ b/StepTileBehavior.h
@@ -0,0 +1,17 @@
+#pragma once
+
+#include "TileBehavior.h"
+
+class StepTileBehavior : public TileBehavior {
+public:
+ virtual void update(Tile &);
+ virtual std::unique_ptr<TileBehavior> clone(Museum &);
+
+ static constexpr const char * type = "G";
+
+private:
+ using TileBehavior::TileBehavior;
+ static StepTileBehavior instance;
+ StepTileBehavior() = default;
+};
+