diff --git a/RecrownedAthenaeum/UI/Skin/Definitions/ButtonSkinDefinition.cs b/RecrownedAthenaeum/UI/Skin/Definitions/ButtonSkinDefinition.cs index 7e3b080..97865f8 100644 --- a/RecrownedAthenaeum/UI/Skin/Definitions/ButtonSkinDefinition.cs +++ b/RecrownedAthenaeum/UI/Skin/Definitions/ButtonSkinDefinition.cs @@ -12,16 +12,12 @@ namespace RecrownedAthenaeum.UI.Skin.Definitions public string downRegion; public string upRegion; public string disabledRegion; - + public Type UIModuleType { get { return typeof(Button); } } + public ButtonSkinDefinition(string downRegion, string upRegion) { this.downRegion = downRegion; this.upRegion = upRegion; } - - public Type UIModuleType() - { - return typeof(Button); - } } } diff --git a/RecrownedAthenaeum/UI/Skin/Definitions/TextSkinDefinition.cs b/RecrownedAthenaeum/UI/Skin/Definitions/TextSkinDefinition.cs index 5a2c429..ff3e253 100644 --- a/RecrownedAthenaeum/UI/Skin/Definitions/TextSkinDefinition.cs +++ b/RecrownedAthenaeum/UI/Skin/Definitions/TextSkinDefinition.cs @@ -11,16 +11,12 @@ namespace RecrownedAthenaeum.UI.Skin.Definitions { public string font; public string color; + public Type UIModuleType { get { return typeof(Text); } } public TextSkinDefinition(string font, string color) { this.font = font; this.color = color; } - - public Type UIModuleType() - { - return typeof(Text); - } } }