Exemplo n.º 1
0
 public bool Equals(IVector2 vector)
 {
     // Return true if the fields match:
     return((x == vector.x) && (y == vector.y));
 }
Exemplo n.º 2
0
 public IVector2(IVector2 _coord)
 {
     x = _coord.x;
     y = _coord.y;
 }