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); }
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); } }
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 { }; }