feat: Initial Physics Code From Previous Repo
This commit is contained in:
11
Engine.Physics2D/Abstract/IPhysicsEngine2D.cs
Normal file
11
Engine.Physics2D/Abstract/IPhysicsEngine2D.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
namespace Syntriax.Engine.Physics2D.Abstract;
|
||||
|
||||
public interface IPhysicsEngine2D
|
||||
{
|
||||
int IterationCount { get; set; }
|
||||
|
||||
void AddRigidBody(IRigidBody2D rigidBody);
|
||||
void RemoveRigidBody(IRigidBody2D rigidBody);
|
||||
|
||||
void Step(float deltaTime);
|
||||
}
|
Reference in New Issue
Block a user