src/LoadingScreen.java
/**
     * Update that is called each frame
     */
Update that is called each frame
Update that is called each frame
public void update(){
        if(barWidth >= 315){
            fade = true;   
        }else{
            barWidth++;
        }
        if(fade){
            fadeAlpha+=3;
        }
        if(fadeAlpha == 255){
            Game.gameState = "menu";  
            game.fade();
        }
    }
public void update ( ) { if ( barWidth >= 315 ) { fade = true ; } else { barWidth ++ ; } if ( fade ) { fadeAlpha += 3 ; } if ( fadeAlpha == 255 ) { Game . gameState = "menu" ; game . fade ( ) ; } }
Update that is called each frame
Update that is called each frame