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