Beispiel #1
0
 public circle(Point2D centroid, double radius)
     : base(centroid)
 {
     this.radius = radius;
 }
Beispiel #2
0
 public circle(Point2D centroid)
     : base(centroid)
 {
 }
Beispiel #3
0
 public rectangle(Point2D centroid, double length, double width)
     : base(centroid)
 {
     this.centroid = centroid;
     this.length = length;
     this.width = width;
 }
Beispiel #4
0
 //property
 //I'll be able to get it afterwards :P
 //f*****g spoof...
 //
 public Shapes(Point2D centroid)
 {
     this.centroid = centroid;
     Console.WriteLine("Shape constructor is called");
 }
Beispiel #5
0
 public rectangle(Point2D centroid)
     : base(centroid)
 {
 }