﻿using Microsoft.Xna.Framework.Graphics;
using Bensoftware.GameFramework.Core;
using Bensoftware.GameFramework.GameComponents;
using Bensoftware.GameFramework.Managers;
using System;
using System.Collections.Generic;
using System.Text;

namespace Bensoftware.GameFramework.GameEntities.UI
{
    [RequireComponent(typeof(FontComponent), DefaultComponentId.FontComponentId)]
    public class Text : DrawableEntity
    {
        public FontComponent FontComponent { get; private set; }

        public Text(int uniqueId)
            : base(uniqueId)
        {
           
        }
        internal override void Initialize()
        {
            

            FontComponent = GetComponent<FontComponent>(DefaultComponentId.FontComponentId);

            base.Initialize();
        }
 
    }
}
