public override void _Ready()
 {
     OS.WindowMaximized = true;
     DefineListaDeNiveis();
     SingleMonophonicEmiterBLL.emissor = this;
     SingleMonophonicEmiterBLL.musica  = GetChild <AudioStreamPlayer>(0);
     SingleMonophonicEmiterBLL.Tocar(Musicas[0]);
     NivelCarregado = GetChild(1);
     MudaNivel(NivelAtual);
 }
        public void MudaNivel(int ProximoNivel)
        {
            if (NivelCarregado.GetChildCount() > 0)
            {
                NivelCarregado.GetChild(0).QueueFree();
            }
            if (ProximoNivel != NivelAtual)
            {
                SingleMonophonicEmiterBLL.Tocar(Musicas[ProximoNivel]);
                BugsBLL.Spawnpoint = new Vector2(34.28f, 25.9883f);
                BugsBLL.FlyBug     = false;
                BugsBLL.Combo      = 0;
            }
            Node newLevel = (Node)Niveis[ProximoNivel].Instance();

            NivelCarregado.AddChild(newLevel);
            NivelAtual = ProximoNivel;
        }