public interface Collidable
Modifier and Type | Method and Description |
---|---|
int |
collideWith(Collidable other,
CollisionResults results)
Check collision with another Collidable.
|
int collideWith(Collidable other, CollisionResults results) throws UnsupportedCollisionException
other
- The object to check collision againstresults
- Will contain the list of CollisionResult
s.UnsupportedCollisionException