Engine-Pong/Game/Physics2D/Abstract/IPhysicsEngine2D.cs

12 lines
253 B
C#
Raw Normal View History

2023-11-30 17:52:09 +03:00
namespace Syntriax.Engine.Physics2D.Abstract;
public interface IPhysicsEngine2D
{
int IterationCount { get; set; }
void AddRigidBody(IRigidBody2D rigidBody);
void RemoveRigidBody(IRigidBody2D rigidBody);
void Step(float deltaTime);
}