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 --- DeleteArtistTileBehavior.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 DeleteArtistTileBehavior.h (limited to 'DeleteArtistTileBehavior.h') diff --git a/DeleteArtistTileBehavior.h b/DeleteArtistTileBehavior.h new file mode 100644 index 0000000..0b2b0d4 --- /dev/null +++ b/DeleteArtistTileBehavior.h @@ -0,0 +1,19 @@ +#pragma once + +#include "TileBehavior.h" + +class DeleteArtistTileBehavior : public TileBehavior { +public: + virtual void step(Artist *); + virtual void update(Tile &); + virtual std::unique_ptr clone(Museum &); + + static constexpr const char * type = "R"; + +private: + using TileBehavior::TileBehavior; + static DeleteArtistTileBehavior instance; + DeleteArtistTileBehavior() = default; +}; + + -- cgit v1.2.3