Пример #1
0
        /// <summary>
        /// Renders and prints the battlefield, containing all the characters in combat as well as their healthbars.
        /// </summary>
        private void PrintFormationsAndCharacterPanel()
        {
            var formations = _formationPanel.Render();

            var characterPanel = _characterPanel.Render();

            for (int i = 0; i < formations.Count(); i++)
            {
                _screenBuffer.AddToBuffer(formations[i] + characterPanel[i]);
            }
        }