Syntriax.Engine/Engine.Physics2D/Abstract/IPhysicsEngine2D.cs

12 lines
253 B
C#
Raw Normal View History

namespace Syntriax.Engine.Physics2D.Abstract;
public interface IPhysicsEngine2D
{
int IterationCount { get; set; }
void AddRigidBody(IRigidBody2D rigidBody);
void RemoveRigidBody(IRigidBody2D rigidBody);
void Step(float deltaTime);
}