Beispiel #1
0
 public void SetFigurePosition(CoordinatePoint coordinate)
 {
     RemoveFigurePosition();
     if (this.Coordinate == null)
     {
         MessageForMove(this, (string.Empty, coordinate.ToString() + '.' + this.Name));
     }
     else
     {
         MessageForMove(this, (this.Coordinate.ToString() + '.' + this.Name,
                               coordinate.ToString() + '.' + this.Name));
     }
     this.Coordinate = coordinate;
     SetFigurePicture(this, coordinate.ToString() + '.' + this.Name);
 }