<commit_before><commit_msg>Added: StaticText Class to assist with adding text<commit_after>﻿using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace MysticChronicles.Engine.Objects.Element.Static
{
    public class StaticText : BaseElement
    {
        private readonly int _xPosition;
        private readonly int _yPosition;

        private readonly string _text;

        private readonly SpriteFont _font;

        private readonly Color _color;

        public StaticText(SpriteFont font, string text, Color color, int xPosition, int yPosition)
        {
            _font = font;
            _text = text;
            _color = color;
            _xPosition = xPosition;
            _yPosition = yPosition;
        }

        public void Render(SpriteBatch spriteBatch)
        {
            spriteBatch.DrawString(_font, _text, new Vector2(_xPosition, _yPosition), _color);
        }
    }
}
{'fraction_non_alphanumeric': 0.06601731601731602, 'fraction_numerical': 0.0010822510822510823, 'mean_word_length': 2.425925925925926, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7059104', 'n_tokens_mistral': 247, 'n_tokens_neox': 240, 'n_words': 68}