public class Person {
    private BoundingBox collisionBox;
    
    public Person(int x, int y, int width, int height) {
        this.collisionBox = new BoundingBox(x, y, width, height);
    }
    
    public void expandCollisionBox(int factor) {
        int newWidth = collisionBox.getWidth() * factor;
        int newHeight = collisionBox.getHeight() * factor;
        collisionBox.setWidth(newWidth);
        collisionBox.setHeight(newHeight);
    }
}

 //BY Aheart.
 