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