Exemplo n.º 1
0
		/// <summary>Subtracts a Velocity from this velocity.</summary>
		public Velocity Subtract(Velocity other) { return new Velocity(X - other.X, Y - other.Y); }
Exemplo n.º 2
0
		/// <summary>Adds a Velocity to this velocity.</summary>
		public Velocity Add(Velocity other) { return new Velocity(X + other.X, Y + other.Y); }