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

@@ -1,7 +1,17 @@
namespace Syntriax.Engine.Physics2D.Abstract;
/// <summary>
/// Represents a 2D physics object's responsive attributes.
/// </summary>
public interface IPhysicsMaterial2D
{
/// <summary>
/// The friction coefficient of the physics object.
/// </summary>
float Friction { get; }
/// <summary>
/// The restitution (bounciness) coefficient of the physics object.
/// </summary>
float Restitution { get; }
}