Exemplo n.º 1
0
 public static void BossUpdate(ContentManager Content, GameTime gameTime, Boss bossDragon, List<EnemyAttack> bossFireBalls, GameState CurrentGameState, List<PlayerAttack> ninjaAttacks, Health healthRectangle)
 {
     healthRectangle.Widht = (int)bossDragon.Life;
     BossSummon(Content, gameTime, bossDragon, bossFireBall, bossFireBalls);
     BossAnimation(gameTime, bossDragon);
     BossCollision(bossDragon, CurrentGameState, ninjaAttacks);
 }
Exemplo n.º 2
0
        public static void DrawBoss(SpriteBatch spriteBatch, Boss bossDragon, List<EnemyAttack> bossFireBalls, Health healthRectangle, SpriteFont font)
        {
            // Draw boss
            bossDragon.Draw(spriteBatch);
            foreach (var fireBall in bossFireBalls)
            {
                // Draw fireballs
                fireBall.Draw(spriteBatch);
            }

            // Draw health bar
            healthRectangle.Draw(spriteBatch);

            // Draw Boss name
            spriteBatch.DrawString(font, "Seesh A'rpin Terme Diatee Xam II ", new Vector2(400, 10), Color.Black);
        }