示例#1
0
        public override void Dispose()
        {
            effect.Dispose();
            recoltableItemEffect.Dispose();
            wavesEffect.Dispose();
            playerModel.Dispose();
            bulletManager.Dispose();
            skyBox.Dispose();
            //skyBoxUndersea.Dispose();
            surfacePlane.Dispose();
            underseaTerrain.Dispose();
            collectModel.Dispose();
            shipHelmPoster.Dispose();

            //Dispose de Meshes
            meshes.ForEach(x => x.Dispose());

            shipHelmMesh.ForEach(x => x.Dispose());

            historyModel.Dispose();

            music.closeFile();
        }