private void behaviour(){
        if(playerState == 0){
            turnTowardBall(); // the first state is about the player standing in place looking for the ball
            if(distanceBall <= REACTION_DISTANCE) playerState = 1; // when the ball comes into range, change state
        }
        if(playerState == 1){                
            getClear(); // kick the ball away from the momentum of  the enemy player coming towards it
            if(distanceOwnGoal >= HOME_DISTANCE + REACTION_DISTANCE) playerState = 2; // when the player leaves a certain range, change state
        }
        if(playerState == 2){
            returnHome(); // return the player to the range it came from
            if(distanceOwnGoal <= HOME_DISTANCE) playerState = 0; // when the player returns home, returns to the default state
        }
    }