Example #1
0
 public void setCenter(int x, int y)
 {
     this.center = new Pont(x, y);
 }
Example #2
0
 public void setCenter(Pont center)
 {
     this.center = center;
 }
Example #3
0
 //konstruktorok
 public Teglalap(Pont center, int a, int b)
 {
     setA(a);
     setB(b);
     setCenter(center);
 }