From 52d5220a305a5b9d36ef507e23453ecbc04ab61f Mon Sep 17 00:00:00 2001 From: Recrown Date: Tue, 29 Jan 2019 16:23:25 -0600 Subject: [PATCH] implemented previous skin changes. --- RecrownedAthenaeum/UI/Modular/Modules/Text.cs | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/RecrownedAthenaeum/UI/Modular/Modules/Text.cs b/RecrownedAthenaeum/UI/Modular/Modules/Text.cs index 02ed475..c90297e 100644 --- a/RecrownedAthenaeum/UI/Modular/Modules/Text.cs +++ b/RecrownedAthenaeum/UI/Modular/Modules/Text.cs @@ -11,7 +11,6 @@ namespace RecrownedAthenaeum.UI.Modular.Modules /// public class Text : UIModule { - private TextSkinDefinition skinDefinition; private SpriteFont font; private float scale; private Vector2 position; @@ -55,19 +54,6 @@ namespace RecrownedAthenaeum.UI.Modular.Modules this.font = font; } - /// - /// Creates a UI text object - /// - /// The skin to be used. - /// The name of the skin's definition to use of a . - /// The font to be used. - /// The string of text to be displayed. - public Text(ISkin skin, SpriteFont font, string skinDefinitionName = null, string content = null) : this(font, content) - { - skinDefinition = skin.ObtainDefinition(skinDefinitionName); - color = skin.GetColor(skinDefinition.color); - } - /// /// Updates the positioning and attempts to perform any operations that were marked automatic. ///