Class TextMaster

java.lang.Object
engine.fontRendering.TextMaster

public class TextMaster extends Object
the Class of the Text rendering
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    method to clean up the renderer
    static void
    init(Loader theLoader)
    initilizing the class with the loader
    static void
    method to load a text into the text batch and the array list of the texts ready to render
    static void
    method to remove a text from the textbatch and the array list of texts
    static void
    method to render the texts in the array list of texts

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TextMaster

      public TextMaster()
  • Method Details

    • init

      public static void init(Loader theLoader)
      initilizing the class with the loader
      Parameters:
      theLoader -
    • loadText

      public static void loadText(GUIText text)
      method to load a text into the text batch and the array list of the texts ready to render
      Parameters:
      text -
    • render

      public static void render()
      method to render the texts in the array list of texts
    • removeText

      public static void removeText(GUIText text)
      method to remove a text from the textbatch and the array list of texts
      Parameters:
      text -
    • cleanUp

      public static void cleanUp()
      method to clean up the renderer