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

#include "TileBehavior.h"
#include "XY.h"

class SetNeighborTileBehavior : public TileBehavior {
	friend class TileBehaviorFactory;
	using TileBehavior::TileBehavior;

public:
	virtual void step(Artist *);
	virtual void update(Tile &);

	static constexpr const char * type = "B";

private:
	XY offset = { 0, 0 };
};