diff --git a/src/sig/DrawLoop.java b/src/sig/DrawLoop.java index d4d9454..dc0bf87 100644 --- a/src/sig/DrawLoop.java +++ b/src/sig/DrawLoop.java @@ -1,6 +1,7 @@ package sig; import sig.engine.Alpha; +import sig.engine.Font; import sig.engine.PaletteColor; import sig.engine.Panel; import sig.engine.Sprite; @@ -26,6 +27,27 @@ public class DrawLoop { } } + public static void Draw_Text(double x, double y, StringBuilder s, Font f) { + Draw_Text_Ext(x,y,s,f,Alpha.ALPHA0,PaletteColor.NORMAL); + } + + public static void Draw_Text_Ext(double x, double y, StringBuilder s, Font f, Alpha alpha, PaletteColor col) { + String finalS = s.toString(); + int charCount=0; + int yOffset=0; + int xOffset=0; + for (int i=0;i