#pragma once #include "Command.h" #include "XY.h" class Canvas; class StepTileCommand : public Command { public: StepTileCommand(Canvas & c, const XY & tile); public: virtual void execute(); private: Canvas & canvas; XY tile_pos; };