Syntriax.Engine/Engine.Physics2D/Abstract/ICollisionDetector2D.cs

9 lines
272 B
C#

using Syntriax.Engine.Physics2D.Abstract;
namespace Syntriax.Engine.Physics2D;
public interface ICollisionDetector2D
{
bool TryDetect<T1, T2>(T1 left, T2 right, out CollisionDetectionInformation collisionInformation) where T1 : ICollider2D where T2 : ICollider2D;
}