using System.Collections.Generic; namespace MoonTools.Core.Bonk { public interface ICollisionTestable { bool TestCollision(ICollisionTestable collisionTestable) where T : struct, IShape2D; IEnumerable> TransformedShapes() where T : struct, IShape2D; } public interface ICollisionTestable : ICollisionTestable where T : struct, IShape2D { IEnumerable> TransformedShapes { get; } } }