mirror of
https://github.com/AlexMacocian/MonoGame.Extended.git
synced 2026-07-24 03:56:31 +00:00
16 lines
356 B
C#
16 lines
356 B
C#
using Microsoft.Xna.Framework;
|
|
using MonoGame.Extended.Shapes;
|
|
|
|
namespace MonoGame.Extended.Collisions
|
|
{
|
|
public interface ICollidable
|
|
{
|
|
RectangleF BoundingBox { get; }
|
|
}
|
|
|
|
public interface IActorTarget : IMovable, ICollidable
|
|
{
|
|
Vector2 Velocity { get; set; }
|
|
void OnCollision(CollisionInfo collisionInfo);
|
|
}
|
|
} |