checkForCollisions should return a boolean to simply indicate if a collision was found or not
This commit is contained in:
parent
fa3debbe17
commit
625d9e0514
|
@ -3,5 +3,5 @@ package com.blarg.gdx.math;
|
||||||
import com.badlogic.gdx.math.collision.BoundingBox;
|
import com.badlogic.gdx.math.collision.BoundingBox;
|
||||||
|
|
||||||
public interface SweptSphereWorldCollisionChecker {
|
public interface SweptSphereWorldCollisionChecker {
|
||||||
void checkForCollisions(SweptSphere sphere, BoundingBox possibleCollisionArea);
|
boolean checkForCollisions(SweptSphere sphere, BoundingBox possibleCollisionArea);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue