#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 }; };