[Piece] Add int value functions for color and type

This commit is contained in:
2022-12-21 00:24:48 +01:00
parent 96a6188f0c
commit 414009fe6b
2 changed files with 11 additions and 0 deletions

View File

@@ -32,6 +32,8 @@ public:
PieceColor color() const;
PieceType type() const;
int colorVal() const;
int typeVal() const;
private:
const PieceColor mColor;