KumiScript/renderer/DummyText.cs

29 lines
No EOL
730 B
C#

namespace KumiScript.Renderer
{
public class DummyText : Text
{
public DummyText(string text, ManagedFont font) : base(text, font)
{
}
public override void Draw(int x, int y)
{
return;
}
public override void DrawWrapping(int x, int y, int maxw, int spacing, int retw, char delim, out int penx, out int peny)
{
penx = retw;
peny = y + spacing;
return;
}
public override bool DrawWrappingAnimate(int x, int y, int maxw, int spacing, int retw, char delim, out int penx, out int peny)
{
penx = retw;
peny = y + spacing;
return true;
}
}
}