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

#include "TileBehaviorStrategy.h"

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

	static constexpr const char * type = "";

private:
	using TileBehaviorStrategy::TileBehaviorStrategy;
	static NullTileBehavior instance;
	NullTileBehavior() = default;
};