mirror of
https://github.com/AlexMacocian/MonoGame.Extended.git
synced 2026-07-15 15:09:29 +00:00
@@ -12,7 +12,7 @@ namespace MonoGame.Extended.Collisions
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets the object being collided with.
|
/// Gets the object being collided with.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public ICollisionActor Other { get; internal set; }
|
public required ICollisionActor Other { get; init; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets a vector representing the overlap between the two objects.
|
/// Gets a vector representing the overlap between the two objects.
|
||||||
@@ -21,6 +21,6 @@ namespace MonoGame.Extended.Collisions
|
|||||||
/// This vector starts at the edge of <see cref="Other"/> and ends at
|
/// This vector starts at the edge of <see cref="Other"/> and ends at
|
||||||
/// the Actor's location.
|
/// the Actor's location.
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
public Vector2 PenetrationVector { get; internal set; }
|
public required Vector2 PenetrationVector { get; init; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user