コード例 #1
0
        public override void Draw(SpriteBatch spriteBatch)
        {
            base.Draw(spriteBatch);

            background.Draw(spriteBatch);
            pokemonName.Draw(spriteBatch);
            pokemonLevel.Draw(spriteBatch);
            hpbar.Draw(spriteBatch);

            if (mine)
            {
                hpStatus.Draw(spriteBatch);
                expbar.Draw(spriteBatch);
            }
        }
コード例 #2
0
        public override void Draw(SpriteBatch spriteBatch)
        {
            base.Draw(spriteBatch);

            Background.Draw(spriteBatch);
            pokemonImage.Draw(spriteBatch);
            pokemonName.Draw(spriteBatch);
            pokemonLevel.Draw(spriteBatch);
            hpbar.Draw(spriteBatch);
            hpStatus.Draw(spriteBatch);
            expbar.Draw(spriteBatch);


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