aboutsummaryrefslogtreecommitdiff
path: root/YellowTileBehavior.h
diff options
context:
space:
mode:
Diffstat (limited to 'YellowTileBehavior.h')
-rw-r--r--YellowTileBehavior.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/YellowTileBehavior.h b/YellowTileBehavior.h
index 8de0b75..6abd67f 100644
--- a/YellowTileBehavior.h
+++ b/YellowTileBehavior.h
@@ -1,18 +1,18 @@
#pragma once
-#include "TileBehaviorStrategy.h"
+#include "TileBehavior.h"
-class YellowTileBehavior : public TileBehaviorStrategy {
+class CreateArtistTileBehavior : public TileBehavior {
public:
virtual void update(Tile &);
- virtual std::unique_ptr<TileBehaviorStrategy> clone(Museum &);
+ virtual std::unique_ptr<TileBehavior> clone(Museum &);
static constexpr const char * type = "Y";
private:
- using TileBehaviorStrategy::TileBehaviorStrategy;
- static YellowTileBehavior instance;
- YellowTileBehavior() = default;
+ using TileBehavior::TileBehavior;
+ static CreateArtistTileBehavior instance;
+ CreateArtistTileBehavior() = default;
unsigned int last_interactions = 0;
};