aboutsummaryrefslogtreecommitdiff
path: root/StepTileCommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'StepTileCommand.h')
-rw-r--r--StepTileCommand.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/StepTileCommand.h b/StepTileCommand.h
index 24d0b36..c9a2d8b 100644
--- a/StepTileCommand.h
+++ b/StepTileCommand.h
@@ -1,21 +1,19 @@
#pragma once
-#include <utility>
-
#include "Command.h"
+#include "XY.h"
class Canvas;
class StepTileCommand : public Command {
public:
- StepTileCommand(Canvas & c, std::pair<unsigned int, unsigned int> tile);
+ StepTileCommand(Canvas & c, const XY & tile);
public:
virtual void execute();
private:
Canvas & canvas;
- unsigned int x;
- unsigned int y;
+ XY tile_pos;
};