Nicolas Winkler hace 7 años
padre
commit
6a0ebf4900
Se han modificado 1 ficheros con 6 adiciones y 0 borrados
  1. 6 0
      src/BitBoard.cpp

+ 6 - 0
src/BitBoard.cpp

@@ -0,0 +1,6 @@
+#include "BitBoard.h"
+
+std::string chessy::Index::getName(void) const
+{
+    return { char('a' + getColumn()), char(getRow() + '1') };
+}