Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
PlainTagHandler.cs
Go to the documentation of this file.
3
5
7{
8 public class PlainSnippet : TextSnippet
9 {
10 public PlainSnippet(string text = "")
11 : base(text)
12 {
13 }
14
15 public PlainSnippet(string text, Color color, float scale = 1f)
16 : base(text, color, scale)
17 {
18 }
19
20 public override Color GetVisibleColor()
21 {
22 return Color;
23 }
24 }
25
26 TextSnippet ITagHandler.Parse(string text, Color baseColor, string options)
27 {
28 return new PlainSnippet(text);
29 }
30}
PlainSnippet(string text, Color color, float scale=1f)
TextSnippet Parse(string text, Color baseColor=default(Color), string options=null)