began working on skin system.
This commit is contained in:
26
RecrownedAthenaeum/UI/Skin/Definitions/TextSkinDefinition.cs
Normal file
26
RecrownedAthenaeum/UI/Skin/Definitions/TextSkinDefinition.cs
Normal file
@@ -0,0 +1,26 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using static System.Net.Mime.MediaTypeNames;
|
||||
|
||||
namespace RecrownedAthenaeum.UI.Skin.Definitions
|
||||
{
|
||||
class TextSkinDefinition : ISkinDefinition
|
||||
{
|
||||
public string font;
|
||||
public string color;
|
||||
|
||||
public TextSkinDefinition(string font, string color)
|
||||
{
|
||||
this.font = font;
|
||||
this.color = color;
|
||||
}
|
||||
|
||||
public Type UIModuleType()
|
||||
{
|
||||
return typeof(Text);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user