Example #1
0
        public override void Draw(GameTime gameTime)
        {
            foreach (CombatHUDPanel humanPanel in humanPanels)
            {
                humanPanel.Draw(gameTime);
            }

            Player player = CurrentPlayer;

            if (player.MyType == Player.Type.Zombie)
            {
                CombatHUDPanel zombiePanel = getZombiePanel((Zombie)player);
                zombiePanel.Draw(gameTime);
            }
        }