13 lines
385 B
C#
13 lines
385 B
C#
namespace Shogi.Contracts.Types
|
|
{
|
|
public class Move
|
|
{
|
|
public WhichPiece? PieceFromCaptured { get; set; }
|
|
/// <summary>Board position notation, like A3 or G1</summary>
|
|
public string? From { get; set; }
|
|
/// <summary>Board position notation, like A3 or G1</summary>
|
|
public string To { get; set; } = string.Empty;
|
|
public bool IsPromotion { get; set; }
|
|
}
|
|
}
|