예제 #1
0
파일: Cell.cs 프로젝트: barneyCr/color_run
 public double GetDistanceBtwnEdges(Cell other)
 {
     return this.GetDistanceBtwnCenters(other) - this.Radius - other.Radius;
 }
예제 #2
0
파일: Cell.cs 프로젝트: barneyCr/color_run
 public double GetDistanceBtwnCenters(Cell other)
 {
     return GetDistanceToPoint(other.Location);
 }