コード例 #1
0
ファイル: Move.cs プロジェクト: sZRAMEK/Chess
 public Move(IPosition start, IPosition destination)
 {
     this.Start       = start;
     this.Destination = destination;
     if (start.AreTheSame(destination))
     {
         throw new ArgumentException();
     }
 }