public override CollisionResult DistToCircle(M_Circle circle) { return(new CollisionResult() { collision = masks.Any(f => f.ColCircle(circle)) }); //return MaxCol(f => f.DistToCircle(circle)); }
public override CollisionResult DistToCircle(M_Circle circle, Vector2 dir) { return(MinCol(f => f.DistToCircle(circle, dir))); }
public override CollisionResult DistToCircle(M_Circle circle) { return(Collision.DistCircleCircle(this, circle)); }
public override bool ColCircle(M_Circle circle) { return(masks.Any(f => f.ColCircle(circle))); }
public override bool ColCircle(M_Circle circle) { return(Collision.ColCircleCircle(this, circle)); }
public override CollisionResult DistToCircle(M_Circle circle, Vector2 dir) { return(Collision.DistCircleCircle(this, circle, dir)); }
public override bool ColCircle(M_Circle circle) { return(Collision.ColCircleSprite(circle, this)); }
public override CollisionResult DistToCircle(M_Circle circle) { throw new NotImplementedException(); }
public override CollisionResult DistToCircle(M_Circle circle) { return(Collision.DistVectorCircle(pos, circle)); }
public override bool ColCircle(M_Circle circle) { return(Collision.ColVectorCircle(pos, circle)); }
public abstract CollisionResult DistToCircle(M_Circle circle);
public abstract CollisionResult DistToCircle(M_Circle circle, Vector2 dir);
public abstract bool ColCircle(M_Circle circle);