@Override
    public void setVY(int new_vy) {
        if(onPlatform || hasPower(PowerUp.FLY)) {
            super.setVY(new_vy * JUMP_VEL);
        }//You can't jump if you're not on a platform.
        updateStateBasedOnVelocity();
    }