コード例 #1
0
ファイル: IVector2.cs プロジェクト: hnjm/TileMap2D
 public bool Equals(IVector2 vector)
 {
     // Return true if the fields match:
     return((x == vector.x) && (y == vector.y));
 }
コード例 #2
0
ファイル: IVector2.cs プロジェクト: hnjm/TileMap2D
 public IVector2(IVector2 _coord)
 {
     x = _coord.x;
     y = _coord.y;
 }