2024-01-23 18:39:25 +03:00
|
|
|
namespace Syntriax.Engine.Physics2D.Abstract;
|
|
|
|
|
2024-02-01 12:26:28 +03:00
|
|
|
/// <summary>
|
|
|
|
/// Represents a 2D collision resolver.
|
|
|
|
/// </summary>
|
2024-01-23 18:39:25 +03:00
|
|
|
public interface ICollisionResolver2D
|
|
|
|
{
|
2024-02-01 12:26:28 +03:00
|
|
|
/// <summary>
|
|
|
|
/// Resolves collisions based on collision detection information provided.
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="collisionInformation">Information about the collision.</param>
|
2024-01-27 20:08:16 +03:00
|
|
|
void Resolve(CollisionDetectionInformation collisionInformation);
|
2024-01-23 18:39:25 +03:00
|
|
|
}
|