summaryrefslogtreecommitdiff
path: root/2015-spacebot/include/move_string_mapper.h
diff options
context:
space:
mode:
Diffstat (limited to '2015-spacebot/include/move_string_mapper.h')
-rw-r--r--2015-spacebot/include/move_string_mapper.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/2015-spacebot/include/move_string_mapper.h b/2015-spacebot/include/move_string_mapper.h
new file mode 100644
index 0000000..46144c7
--- /dev/null
+++ b/2015-spacebot/include/move_string_mapper.h
@@ -0,0 +1,14 @@
+#pragma once
+
+#include <string>
+#include <map>
+#include "move.h"
+
+class MoveStringMapper
+{
+public:
+ MoveStringMapper();
+ std::string toString(const Move &move);
+private:
+ std::map<Move, const char*> moveMap;
+};