summaryrefslogtreecommitdiff
path: root/Player.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Player.cs')
-rw-r--r--Player.cs20
1 files changed, 20 insertions, 0 deletions
diff --git a/Player.cs b/Player.cs
new file mode 100644
index 0000000..ca9fbcd
--- /dev/null
+++ b/Player.cs
@@ -0,0 +1,20 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace Chess
+{
+ public class Player
+ {
+ public bool IsWhite;
+ public bool IsPlayersTurn;
+
+ public Player(bool isWhite, bool isPlayersTurn)
+ {
+ IsWhite = isWhite;
+ IsPlayersTurn = isPlayersTurn;
+ }
+ }
+}