docs(physics2d): Abstract

This commit is contained in:
2024-02-01 12:26:28 +03:00
parent 2f4137dae2
commit 2b19b24a26
8 changed files with 103 additions and 0 deletions

View File

@@ -2,8 +2,19 @@ using Syntriax.Engine.Physics2D.Primitives;
namespace Syntriax.Engine.Physics2D.Abstract;
/// <summary>
/// Represents a <see cref="ICollider2D"/> with a custom <see cref="Shape"/>.
/// </summary>
public interface IShapeCollider2D : ICollider2D
{
/// <summary>
/// Gets or sets the local <see cref="Shape"/> of the <see cref="ICollider2D"/>.
/// </summary>
Shape ShapeLocal { get; set; }
/// <summary>
/// Gets the world space representation of the <see cref="Shape"/>.
/// </summary>
Shape ShapeWorld { get; }
}