aboutsummaryrefslogtreecommitdiff
path: root/GrayTileBehavior.h
diff options
context:
space:
mode:
Diffstat (limited to 'GrayTileBehavior.h')
-rw-r--r--GrayTileBehavior.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/GrayTileBehavior.h b/GrayTileBehavior.h
index 3f59c93..9ea4d96 100644
--- a/GrayTileBehavior.h
+++ b/GrayTileBehavior.h
@@ -1,2 +1,15 @@
#pragma once
+#include "TileBehaviorStrategy.h"
+
+class GrayTileBehavior : public TileBehaviorStrategy {
+public:
+ virtual void run(Tile &);
+ virtual std::unique_ptr<TileBehaviorStrategy> clone();
+
+private:
+ using TileBehaviorStrategy::TileBehaviorStrategy;
+ static GrayTileBehavior instance;
+ GrayTileBehavior() = default;
+};
+