checkmate complete
This commit is contained in:
@@ -26,6 +26,6 @@ namespace Shogi.Domain.Pieces
|
||||
{
|
||||
}
|
||||
|
||||
public override IEnumerable<Path> MoveSet => Player1Paths;
|
||||
public override IEnumerable<Path> MoveSet => Owner == WhichPlayer.Player1 ? Player1Paths : Player2Paths;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user