Пример #1
0
        public override void UnloadContent()
        {
            base.UnloadContent();
            background.UnloadContent();
            pokemonName.UnloadContent();
            pokemonLevel.UnloadContent();
            hpbar.UnloadContent();

            if (mine)
            {
                hpStatus.UnloadContent();
                expbar.UnloadContent();
            }
        }
Пример #2
0
        public override void UnloadContent()
        {
            base.UnloadContent();
            Background.UnloadContent();
            pokemonImage.UnloadContent();
            pokemonName.UnloadContent();
            pokemonLevel.UnloadContent();
            hpbar.UnloadContent();
            hpStatus.UnloadContent();
            expbar.UnloadContent();

            for (int i = 0; i < 6; ++i)
            {
                pokemonStats[i].UnloadContent();
            }
        }