zombie.ui
Class TextManager

java.lang.Object
  extended by zombie.ui.TextManager

public class TextManager
extends java.lang.Object


Field Summary
 AngelCodeFont font
           
 AngelCodeFont font2
           
 AngelCodeFont font3
           
 AngelCodeFont font4
           
static TextManager instance
           
 AngelCodeFont main1
           
 AngelCodeFont main2
           
 AngelCodeFont zombiefontcredits1
           
 AngelCodeFont zombiefontcredits2
           
 AngelCodeFont zombienew1
           
 AngelCodeFont zombienew2
           
 AngelCodeFont zombienew3
           
 
Constructor Summary
TextManager()
           
 
Method Summary
 void DrawString(double x, double y, java.lang.String str)
           
 void DrawString(double x, double y, java.lang.String str, double r, double g, double b, double a)
           
 void DrawString(UIFont font, double x, double y, java.lang.String str, double r, double g, double b, double a)
           
 void DrawStringCentre(double x, double y, java.lang.String str, double r, double g, double b, double a)
           
 void DrawStringCentre(UIFont font, double x, double y, java.lang.String str, double r, double g, double b, double a)
           
 void DrawStringRight(double x, double y, java.lang.String str, double r, double g, double b, double a)
           
 void DrawStringRight(UIFont font, double x, double y, java.lang.String str, double r, double g, double b, double a)
           
 AngelCodeFont getFontFromEnum(UIFont font)
           
 void Init()
           
 int MeasureFont(UIFont font)
           
 int MeasureStringX(UIFont font, java.lang.String str)
           
 int MeasureStringY(UIFont font, java.lang.String str)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

font

public AngelCodeFont font

font2

public AngelCodeFont font2

font3

public AngelCodeFont font3

font4

public AngelCodeFont font4

main1

public AngelCodeFont main1

main2

public AngelCodeFont main2

zombiefontcredits1

public AngelCodeFont zombiefontcredits1

zombiefontcredits2

public AngelCodeFont zombiefontcredits2

zombienew1

public AngelCodeFont zombienew1

zombienew2

public AngelCodeFont zombienew2

zombienew3

public AngelCodeFont zombienew3

instance

public static TextManager instance
Constructor Detail

TextManager

public TextManager()
Method Detail

DrawString

public void DrawString(double x,
                       double y,
                       java.lang.String str)

DrawString

public void DrawString(double x,
                       double y,
                       java.lang.String str,
                       double r,
                       double g,
                       double b,
                       double a)

DrawString

public void DrawString(UIFont font,
                       double x,
                       double y,
                       java.lang.String str,
                       double r,
                       double g,
                       double b,
                       double a)

DrawStringCentre

public void DrawStringCentre(double x,
                             double y,
                             java.lang.String str,
                             double r,
                             double g,
                             double b,
                             double a)

DrawStringCentre

public void DrawStringCentre(UIFont font,
                             double x,
                             double y,
                             java.lang.String str,
                             double r,
                             double g,
                             double b,
                             double a)

DrawStringRight

public void DrawStringRight(double x,
                            double y,
                            java.lang.String str,
                            double r,
                            double g,
                            double b,
                            double a)

getFontFromEnum

public AngelCodeFont getFontFromEnum(UIFont font)

DrawStringRight

public void DrawStringRight(UIFont font,
                            double x,
                            double y,
                            java.lang.String str,
                            double r,
                            double g,
                            double b,
                            double a)

Init

public void Init()
          throws java.io.FileNotFoundException
Throws:
java.io.FileNotFoundException

MeasureStringX

public int MeasureStringX(UIFont font,
                          java.lang.String str)

MeasureStringY

public int MeasureStringY(UIFont font,
                          java.lang.String str)

MeasureFont

public int MeasureFont(UIFont font)