Example #1
0
 //  Calculat and apply disk X,Y
 public void CalculateCoordinates(Pole p, Disk disk)
 {
     disk.Y = p.Y + p.Height - p.DisksCount - 1;
     disk.X = p.X - disk.Size / 2;
 }