using Microsoft.Xna.Framework; namespace MonoGame.Extended.Collisions { /// /// This class holds data on a collision. It is passed as a parameter to /// OnCollision methods. /// public class CollisionInfo { /// /// Gets the object being collided with. /// public ICollidable Other { get; internal set; } /// /// Gets a vector representing the overlap between the two objects. /// public Vector2 PenetrationVector { get; internal set; } } }