aboutsummaryrefslogtreecommitdiff
path: root/CreateArtistTileBehavior.h
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-10-18 15:48:14 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-10-18 15:48:14 +0200
commitd8289105193707daede1a5b59137f18e20f20aeb (patch)
tree939908b9c4c6f7aaef8aa61ee2e04be3e85610b6 /CreateArtistTileBehavior.h
parent76e61d68bbf568ec0d7fc4632e52d4de5496b003 (diff)
(2/2) rename
Diffstat (limited to 'CreateArtistTileBehavior.h')
-rw-r--r--CreateArtistTileBehavior.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/CreateArtistTileBehavior.h b/CreateArtistTileBehavior.h
new file mode 100644
index 0000000..6abd67f
--- /dev/null
+++ b/CreateArtistTileBehavior.h
@@ -0,0 +1,19 @@
+#pragma once
+
+#include "TileBehavior.h"
+
+class CreateArtistTileBehavior : public TileBehavior {
+public:
+ virtual void update(Tile &);
+ virtual std::unique_ptr<TileBehavior> clone(Museum &);
+
+ static constexpr const char * type = "Y";
+
+private:
+ using TileBehavior::TileBehavior;
+ static CreateArtistTileBehavior instance;
+ CreateArtistTileBehavior() = default;
+
+ unsigned int last_interactions = 0;
+};
+