aboutsummaryrefslogtreecommitdiff
path: root/YellowTileBehavior.h
diff options
context:
space:
mode:
Diffstat (limited to 'YellowTileBehavior.h')
-rw-r--r--YellowTileBehavior.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/YellowTileBehavior.h b/YellowTileBehavior.h
index 7a457a4..015a244 100644
--- a/YellowTileBehavior.h
+++ b/YellowTileBehavior.h
@@ -4,12 +4,14 @@
class YellowTileBehavior : public TileBehaviorStrategy {
public:
- virtual void run(Tile &);
- virtual std::unique_ptr<TileBehaviorStrategy> clone();
+ virtual void update(Tile &);
+ virtual std::unique_ptr<TileBehaviorStrategy> clone(Museum &);
private:
using TileBehaviorStrategy::TileBehaviorStrategy;
static YellowTileBehavior instance;
YellowTileBehavior() = default;
+
+ unsigned int steps_total = 0;
};