/// <summary> /// Gets the correction vector to resolve a collision between two ICollidable objects. /// </summary> /// <param name="A">The ICollidable object we want to push out.</param> /// <param name="B">The ICollidable object we resolve the collision against.</param> /// <returns>A CorrectionVector2 that details the movement required to resolve the collision.</returns> private CorrectionVector2 GetCorrectionVector(ICollisionComponent A, ICollisionComponent B) { return A.GetCorrectionVector(B); }
/// <summary> /// Gets the correction vector to resolve a collision between two ICollidable objects. /// </summary> /// <param name="A">The ICollidable object we want to push out.</param> /// <param name="B">The ICollidable object we resolve the collision against.</param> /// <returns>A CorrectionVector2 that details the movement required to resolve the collision.</returns> private CorrectionVector2 GetCorrectionVector(ICollisionComponent A, ICollisionComponent B) { return(A.GetCorrectionVector(B)); }