public void obstacleEvent(MapObstacle obstacle){
        if(obstacle.getType() == ObstacleType.BUSH){
             AudioPlayer.play(ResourceTools.getResourceAsStream("sounds/hitbush.wav"));

        }
        if(obstacle.getType() == ObstacleType.WALL){
             AudioPlayer.play(ResourceTools.getResourceAsStream("sounds/ouch.wav"));
           

        }
        if(obstacle.getType() == ObstacleType.WATER){
             AudioPlayer.play(ResourceTools.getResourceAsStream("sounds/medium_splash.wav"));

        }
        System.out.println("Ouch... that hurt!");
//        AudioPlayer.play(ResourceTools.getResourceAsStream("Resources/ouch_bump.wav"));
    }