Files
MonoGame.Extended/Source/MonoGame.Extended.Collisions/IActorTarget.cs
T
Lucas Girouard-StranksandDylan Wilson a1f8566a46 Geometric Primitives Cleanup (#346)
* CircleF and RectangleF

* Fix build errors
2017-03-12 20:32:07 +10:00

15 lines
324 B
C#

using Microsoft.Xna.Framework;
namespace MonoGame.Extended.Collisions
{
public interface ICollidable
{
RectangleF BoundingBox { get; }
}
public interface IActorTarget : IMovable, ICollidable
{
Vector2 Velocity { get; set; }
void OnCollision(CollisionInfo collisionInfo);
}
}