Esempio n. 1
0
        private void DrawHero(SpriteBatch spriteBatch, Hero hero, int offset = 0)
        {
            DrawBasicData(spriteBatch, hero, offset);

            int row = nextRow();
            DrawIcon(spriteBatch, ImageProvider.Instance.GetImage(ImageListEnum.TOKENS_FATIGUE_ICON), row + offset);
            DrawString(spriteBatch, hero.FatigueState(), row + offset);

            row = nextRow();
            DrawIcon(spriteBatch, ImageProvider.Instance.GetImage(ImageListEnum.TOKENS_DEFENSE_ICON), row + offset);
            DrawDefense(spriteBatch, hero, row + offset);

            row = nextRow();
            DrawString(spriteBatch, "Remaining actions: " + hero.RemainingActions, row + offset);
        }