public boolean testCollision(Sprite testSprite) { // Check for collision with // another sprite if (testSprite != this) { return spaceOccupied.intersects(testSprite.getSpaceOccupied()); } // end if return false; } // end testCollision