示例#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);
 }
示例#2
0
文件: Square.cs 项目: zer09/Cosmos
 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);
 }