Exemple #1
0
 /// <summary>
 /// Draws simple Text.  Should only be used for debugging as this creates Text Graphics each time it's called!
 /// </summary>
 /// <param name="str">The string to display.</param>
 /// <param name="size">The size of the Text.</param>
 /// <param name="x">The X position to render the Text from.</param>
 /// <param name="y">The Y position to render the Text from.</param>
 public static void Text(string str, int size, float x = 0, float y = 0)
 {
     Draw.Graphic(new OtterText.Text(str, size), x, y);
 }