refactor!: IGameObject removed
This commit is contained in:
@@ -5,7 +5,7 @@ namespace Syntriax.Engine.Physics2D.Abstract;
|
||||
/// <summary>
|
||||
/// Represents a 2D collider.
|
||||
/// </summary>
|
||||
public interface ICollider2D : IBehaviour, IAssignableTransform
|
||||
public interface ICollider2D : IBehaviour
|
||||
{
|
||||
/// <summary>
|
||||
/// Event triggered when a collision is detected.
|
||||
@@ -22,6 +22,9 @@ public interface ICollider2D : IBehaviour, IAssignableTransform
|
||||
/// </summary>
|
||||
event OnTriggeredEventHandler? OnTriggered;
|
||||
|
||||
/// <inheritdoc cref="ITransform2D" />
|
||||
ITransform2D Transform { get; }
|
||||
|
||||
/// <summary>
|
||||
/// The <see cref="IRigidBody2D"/> associated with the <see cref="ICollider2D"/>.
|
||||
/// </summary>
|
||||
|
@@ -6,7 +6,7 @@ namespace Syntriax.Engine.Physics2D.Abstract;
|
||||
/// <summary>
|
||||
/// Represents a 2D rigid body in the engine.
|
||||
/// </summary>
|
||||
public interface IRigidBody2D : IBehaviour, IAssignableTransform
|
||||
public interface IRigidBody2D : IBehaviour2D
|
||||
{
|
||||
/// <summary>
|
||||
/// The physics material of the <see cref="IRigidBody2D"/>.
|
||||
|
Reference in New Issue
Block a user