コード例 #1
0
 public GridSquare(int x, int y, bool isWalkable, ReferenceToObject referenceToObject)
 {
     this.x                 = x;
     this.y                 = y;
     this.isWalkable        = isWalkable;
     this.referenceToObject = referenceToObject;
 }
コード例 #2
0
ファイル: GridObject.cs プロジェクト: Glecun/automata
 public GridObject(bool isWalkable, int width, int height, int x, int y, ReferenceToObject referenceToObject)
 {
     this.isWalkable        = isWalkable;
     this.width             = width;
     this.height            = height;
     this.x                 = x;
     this.y                 = y;
     this.referenceToObject = referenceToObject;
     zone = createZone();
 }
コード例 #3
0
ファイル: GridObject.cs プロジェクト: Glecun/automata
 public GridObject(bool isWalkable, int x, int y, ReferenceToObject referenceToObject) : this(isWalkable, 1, 1, x, y,
                                                                                              referenceToObject)
 {
 }