示例#1
0
        public void Draw(SpriteBatch spriteBatch)
        {
            castletile.Draw(spriteBatch);
            abilities.Draw(spriteBatch);

            styraxTheHero.Draw(spriteBatch);
            abilities.Draw(spriteBatch);
            shur.Draw(spriteBatch);
            zombies.DrawEnemies(spriteBatch);
            zombiesDeath.DrawExplosions(spriteBatch);
        }
示例#2
0
        public void Draw(SpriteBatch spriteBatch)
        {
            backClouds.Draw(spriteBatch);
            clouds.Draw(spriteBatch);
            mountains.Draw(spriteBatch);
            abilitiesManager.Draw(spriteBatch);
            if (!styraxTheHero.hasFallen)
            {
                styraxTheHero.Draw(spriteBatch);
                zombies.DrawEnemies(spriteBatch);
            }


            if (styraxTheHero.hasFallen)
            {
                zombies.DrawEnemies(spriteBatch);
                styraxTheHero.Draw(spriteBatch);
            }
            zombieDeath.DrawExplosions(spriteBatch);
            shur.Draw(spriteBatch);
            gui.Draw(spriteBatch);
            if (waveManager.bossBattle)
            {
                healthbar.Draw(spriteBatch);
            }
        }
示例#3
0
        public void Draw(SpriteBatch spriteBatch)
        {
            maptile.Draw(spriteBatch);
            mapwall.Draw(spriteBatch);
            abilitiesManager.Draw(spriteBatch);


            map.Draw(spriteBatch);
            zombiesDeath.DrawExplosions(spriteBatch);

            styraxTheHero.Draw(spriteBatch);
            zombies.DrawEnemies(spriteBatch);



            shur.Draw(spriteBatch);



            bgLayer1.Draw(spriteBatch);
            gui.Draw(spriteBatch);
            if (waveManager.bossBattle)
            {
                healthbar.Draw(spriteBatch);
            }
            else
            {
            };
        }