summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRaúl Benencia <rul@kalgan.cc>2015-03-31 16:48:03 -0300
committerRaúl Benencia <rul@kalgan.cc>2015-03-31 16:48:03 -0300
commitfab061b07ab05aec325d3e8a0b0e701551120d2f (patch)
treecb82c362508b54df3485ec4845a69de869303aa9 /include
parent30624a2bf3717e64a2134306a74d48463d8f14d4 (diff)
add square getters and setters
Diffstat (limited to 'include')
-rw-r--r--include/square.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/square.h b/include/square.h
new file mode 100644
index 0000000..254a1e9
--- /dev/null
+++ b/include/square.h
@@ -0,0 +1,12 @@
+#ifndef _SQUARE
+#define _SQUARE
+
+#include "types.h"
+
+Color square_get_color(Square);
+Piece* square_get_piece(Square);
+
+Square square_set_color(Square, Color);
+Square square_set_piece(Square, Piece*);
+
+#endif
nihil fit ex nihilo