aboutsummaryrefslogtreecommitdiff
path: root/StepTileBehavior.h
diff options
context:
space:
mode:
Diffstat (limited to 'StepTileBehavior.h')
-rw-r--r--StepTileBehavior.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/StepTileBehavior.h b/StepTileBehavior.h
index d044fe7..856760f 100644
--- a/StepTileBehavior.h
+++ b/StepTileBehavior.h
@@ -3,15 +3,12 @@
#include "TileBehavior.h"
class StepTileBehavior : public TileBehavior {
+ friend class TileBehaviorFactory;
+ using TileBehavior::TileBehavior;
+
public:
virtual void update(Tile &);
- virtual std::unique_ptr<TileBehavior> clone(Museum &);
static constexpr const char * type = "G";
-
-private:
- using TileBehavior::TileBehavior;
- static StepTileBehavior instance;
- StepTileBehavior() = default;
};