Exemplo n.º 1
0
 protected bool Equals(IntVector2 other)
 {
     return(x == other.x && y == other.y);
 }
Exemplo n.º 2
0
 public IntVector2 add(IntVector2 vector)
 {
     x += vector.x;
     y += vector.y;
     return(this);
 }
Exemplo n.º 3
0
 public void set(IntVector2 vector)
 {
     set(vector.x, vector.y);
 }
Exemplo n.º 4
0
 public IntVector2(IntVector2 source) : this(source.x, source.y)
 {
 }