コード例 #1
0
ファイル: Square.cs プロジェクト: ChrisJamesSadler/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);
 }
コード例 #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);
 }