Syntriax.Engine/Engine.Physics2D/Abstract/ICircleCollider2D.cs

20 lines
556 B
C#
Raw Normal View History

2024-01-24 19:21:53 +03:00
using Syntriax.Engine.Physics2D.Primitives;
namespace Syntriax.Engine.Physics2D.Abstract;
2024-02-01 12:26:28 +03:00
/// <summary>
/// Represents a <see cref="ICollider2D"/> with the shape of a <see cref="Circle"/>.
/// </summary>
2024-01-24 19:21:53 +03:00
public interface ICircleCollider2D : ICollider2D
{
2024-02-01 12:26:28 +03:00
/// <summary>
/// The local <see cref="Circle"/> shape of the <see cref="ICollider2D"/>.
/// </summary>
2024-01-24 19:21:53 +03:00
Circle CircleLocal { get; set; }
2024-02-01 12:26:28 +03:00
/// <summary>
/// The world space representation of the <see cref="Circle"/> shape.
/// </summary>
2024-01-24 19:21:53 +03:00
Circle CircleWorld { get; }
}