From d8289105193707daede1a5b59137f18e20f20aeb Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Fri, 18 Oct 2024 15:48:14 +0200 Subject: (2/2) rename --- CreateArtistTileBehavior.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 CreateArtistTileBehavior.h (limited to 'CreateArtistTileBehavior.h') 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 clone(Museum &); + + static constexpr const char * type = "Y"; + +private: + using TileBehavior::TileBehavior; + static CreateArtistTileBehavior instance; + CreateArtistTileBehavior() = default; + + unsigned int last_interactions = 0; +}; + -- cgit v1.2.3