Exemple #1
0
 protected override bool IsColliding(IGridCollider collider, out Collision collision)
 {
     return(CollisionUtils.IsShapeCollidingGrid(IntersectionUtils.Collides, this, collider, out collision));
 }
Exemple #2
0
 protected override bool IsColliding(RectangleCollider collider, out Collision collision)
 {
     return(CollisionUtils.IsColliding <Circle, TopLeftRectangle>(IntersectionUtils.Collides, this, collider, out collision));
 }