Beispiel #1
0
 public Square(int x, int y, ShapedImage parent, int size)
 {
     this.X = x;
     this.Y = y;
     this.Parent = parent;
     this.Parent.Shapes.Add(this);
     this.Size = size;
     this.i = new Image(this.Size, this.Size);
 }
Beispiel #2
0
 public Square(int x, int y, ShapedImage parent, int size)
 {
     this.X      = x;
     this.Y      = y;
     this.Parent = parent;
     this.Parent.Shapes.Add(this);
     this.Size = size;
     this.i    = new Image(this.Size, this.Size);
 }