Syntriax.Engine/Engine.Physics2D/Abstract/ICollider2D.cs

16 lines
406 B
C#
Raw Normal View History

using System;
using Syntriax.Engine.Core;
using Syntriax.Engine.Core.Abstract;
namespace Syntriax.Engine.Physics2D.Abstract;
public interface ICollider2D : IBehaviour, IAssignableTransform
{
Action<ICollider2D, ICollider2D>? OnCollisionPreResolve { get; set; }
2024-01-24 19:21:53 +03:00
Action<ICollider2D, ICollider2D>? OnCollisionResolved { get; set; }
IRigidBody2D? RigidBody2D { get; }
void Recalculate();
}