diff options
author | Justin Worthe <justin.worthe@gmail.com> | 2015-06-03 23:03:40 +0200 |
---|---|---|
committer | Justin Worthe <justin.worthe@gmail.com> | 2015-06-03 23:03:40 +0200 |
commit | 140b51f2bcd9c0aaa5b536d85702064a93530188 (patch) | |
tree | 5635713a49790726e2f99853f2feb38cd7bea578 /include | |
parent | a197a92893cff416b63da359db8c8059c7f333bf (diff) |
Moved mapping move to string to its own file
Diffstat (limited to 'include')
-rw-r--r-- | include/move_string_mapper.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/move_string_mapper.h b/include/move_string_mapper.h new file mode 100644 index 0000000..46144c7 --- /dev/null +++ b/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; +}; |