checkForCollisions should return a boolean to simply indicate if a collision was found or not

This commit is contained in:
Gered 2013-09-30 03:22:23 -04:00
parent fa3debbe17
commit 625d9e0514

View file

@ -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);
} }