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

#include <string>
#include <memory>

class Tile;

class TileBehaviorStrategy {
public:
	virtual void run(Tile &) = 0;
	virtual std::unique_ptr<TileBehaviorStrategy> clone() = 0;

protected:
	TileBehaviorStrategy(const std::string type);
	TileBehaviorStrategy() = default;
};