using System;
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 CollisionEventArgs : EventArgs
{
///
/// Gets the object being collided with.
///
public ICollisionActor Other { get; internal set; }
///
/// Gets a vector representing the overlap between the two objects.
///
///
/// This vector starts at the edge of and ends at
/// the Actor's location.
///
public Vector2 PenetrationVector { get; internal set; }
}
}