checkpoint
This commit is contained in:
10
Shogi.Domain/DomainExtensions.cs
Normal file
10
Shogi.Domain/DomainExtensions.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
using Shogi.Domain.Pieces;
|
||||
|
||||
namespace Shogi.Domain
|
||||
{
|
||||
internal static class DomainExtensions
|
||||
{
|
||||
public static bool IsKing(this Piece self) => self.WhichPiece == WhichPiece.King;
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user