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