示例#1
0
 /// <summary>
 /// Adds highlight
 /// </summary>
 /// <param name="points"></param>
 private void AddHighlight(List <Point> points)
 {
     foreach (var point in points)
     {
         //add highlights to the beginning of the list so they do not overlap with pieces
         Pieces.Insert(0, new CellData(point, Colors.GreenYellow, null, 0.6));
     }
 }