From 33bed565c7dc5e419995702b854f618eb13847e5 Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Mon, 14 Oct 2024 16:20:52 +0200 Subject: small refactoring --- GrayTileBehavior.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'GrayTileBehavior.h') diff --git a/GrayTileBehavior.h b/GrayTileBehavior.h index ceba350..72c3fd8 100644 --- a/GrayTileBehavior.h +++ b/GrayTileBehavior.h @@ -7,6 +7,8 @@ public: virtual void update(Tile &); virtual std::unique_ptr clone(Museum &); + static constexpr const char * type = "G"; + private: using TileBehaviorStrategy::TileBehaviorStrategy; static GrayTileBehavior instance; -- cgit v1.2.3