public boolean isunderFloor() {
        for (int count = 0; count < Game.getFloorHitBox().size(); count++) {
            Rectangle r = (Rectangle) Game.getFloorHitBox().get(count);
            //under floor
            if (r.intersectsLine(Game.p.x, Game.p.y, Game.p.x + Game.p.width, Game.p.y)) {
                return true;
            }
        }
        return false;
    }