mirror of
https://github.com/Ratstail91/Mementos.git
synced 2025-11-29 18:44:28 +11:00
25 lines
364 B
C#
25 lines
364 B
C#
|
|
namespace Ink.Parsed
|
|
{
|
|
public class Text : Parsed.Object
|
|
{
|
|
public string text { get; set; }
|
|
|
|
public Text (string str)
|
|
{
|
|
text = str;
|
|
}
|
|
|
|
public override Runtime.Object GenerateRuntimeObject ()
|
|
{
|
|
return new Runtime.StringValue(this.text);
|
|
}
|
|
|
|
public override string ToString ()
|
|
{
|
|
return this.text;
|
|
}
|
|
}
|
|
}
|
|
|