/// <summary>
        /// Base creation of a screen, has a parent.
        /// </summary>
        /// <param name="p">Parent of the screen.</param>
        /// <param name="sM">The ScreenManager of the screen.</param>
        /// <param name="name">The identifier of the screen.</param>
        /// <param name="pause">True if parent shouldn't update while screen is active.</param>
        /// <param name="drawable">False if parent shouldn't draw while screen is active.</param>
        public UIBaseScreen(UIBaseScreen p, UIScreenManager sM, string name, bool pause, bool drawable)
        {
            parent = p;
            screenName = name;
            screenManager = sM;
            parent.IsActive = false;
            if (pause)
            {

                parent.Paused = true;
            }
            else
            {
                parent.Paused = false;
            }
            if (!drawable)
            {
                parent.Drawable = false;
            }
            else
            {
                parent.Drawable = true;
            }
        }
 /// <summary>
 /// Base creation of a screen.
 /// </summary>
 /// <param name="sM">The ScreenManager of the screen.</param>
 /// <param name="name">The identifier of the screen.</param>
 public UIBaseScreen(UIScreenManager sM, string name)
 {
     screenName = name;
     screenManager = sM;
 }