aboutsummaryrefslogtreecommitdiff
path: root/YellowTileBehavior.h
blob: 8de0b75da255d8a98dd0d5758d65c2888cb2a133 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#pragma once

#include "TileBehaviorStrategy.h"

class YellowTileBehavior : public TileBehaviorStrategy {
public:
	virtual void update(Tile &);
	virtual std::unique_ptr<TileBehaviorStrategy> clone(Museum &);

	static constexpr const char * type = "Y";

private:
	using TileBehaviorStrategy::TileBehaviorStrategy;
	static YellowTileBehavior instance;
	YellowTileBehavior() = default;

	unsigned int last_interactions = 0;
};