blob: 24d0b365dec2c97edb02196993b820c417cb743b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#pragma once
#include <utility>
#include "Command.h"
class Canvas;
class StepTileCommand : public Command {
public:
StepTileCommand(Canvas & c, std::pair<unsigned int, unsigned int> tile);
public:
virtual void execute();
private:
Canvas & canvas;
unsigned int x;
unsigned int y;
};
|