private void checkEndOfLevel()
  {
    for (int i = 0; i < goals.size(); i++)
    {
      if (collider.collide(character,(Goal)goals.get(i)))
      {
        AudioPlayer.play("Content/Audio/victory.wav");
        //Load new map/level here
        this.currentLevelPath = ((Goal)goals.get(i)).getLevel();
       //
        gameMap = Map.load(spriteLoader,"data/"+((Goal)goals.get(i)).getLevel()+".txt");
        loadLevel("data/"+((Goal)goals.get(i)).getLevel()+"_level.txt");     
        //this could be a reset
        character.moveTo(32,400);
        character.lives = 3;
        character.score = 0;
        camera.setPosition(0,0);
      }
    }
  }