docs(physics2d): Abstract
This commit is contained in:
@@ -1,8 +1,18 @@
|
||||
namespace Syntriax.Engine.Physics2D.Abstract;
|
||||
|
||||
/// <summary>
|
||||
/// Represents a 2D physics engine.
|
||||
/// </summary>
|
||||
public interface IPhysicsEngine2D
|
||||
{
|
||||
/// <summary>
|
||||
/// The number of iterations the <see cref="IPhysicsEngine2D"/> performs per step.
|
||||
/// </summary>
|
||||
int IterationCount { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Advances the physics simulation by the specified time.
|
||||
/// </summary>
|
||||
/// <param name="deltaTime">The time step.</param>
|
||||
void Step(float deltaTime);
|
||||
}
|
||||
|
Reference in New Issue
Block a user