Package zombie.ui
Class TextManager
java.lang.Object
zombie.ui.TextManager
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static interface
-
Field Summary
Modifier and TypeFieldDescriptionfinal AngelCodeFont[]
static final TextManager
final AngelCodeFont[]
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
DrawString
(double x, double y, String str) void
DrawString
(double x, double y, String str, double r, double g, double b, double a) void
DrawString
(UIFont font, double x, double y, double zoom, String str, double r, double g, double b, double a) void
DrawString
(UIFont font, double x, double y, String str, double r, double g, double b, double a) void
DrawStringBBcode
(UIFont font, double x, double y, String str, double r, double g, double b, double a) void
DrawStringCentre
(double x, double y, String str, double r, double g, double b, double a) void
DrawStringCentre
(UIFont font, double x, double y, String str, double r, double g, double b, double a) void
DrawStringCentreDefered
(UIFont font, double x, double y, String str, double r, double g, double b, double a) void
DrawStringRight
(double x, double y, String str, double r, double g, double b, double a) void
DrawStringRight
(UIFont font, double x, double y, String str, double r, double g, double b, double a) void
DrawStringUntrimmed
(UIFont font, double x, double y, String str, double r, double g, double b, double a) void
void
DrawTextObject
(double x, double y, TextDrawObject td) GetDrawTextObject
(String str, int maxLineWidth, boolean restrictImages) getFontFromEnum
(UIFont font) int
getFontHeight
(UIFont fontID) getNormalFromFontSize
(int points) void
Init()
int
MeasureFont
(UIFont font) int
MeasureStringX
(UIFont font, String str) int
MeasureStringY
(UIFont font, String str)
-
Field Details
-
font
-
font2
-
font3
-
font4
-
main1
-
main2
-
zombiefontcredits1
-
zombiefontcredits2
-
zombienew1
-
zombienew2
-
zomboidDialogue
-
codetext
-
debugConsole
-
intro
-
handwritten
-
normal
-
zombienew3
-
enumToFont
-
instance
-
todoTextList
-
-
Constructor Details
-
TextManager
public TextManager()
-
-
Method Details
-
DrawString
-
DrawString
-
DrawString
-
DrawString
-
DrawStringUntrimmed
-
DrawStringCentre
public void DrawStringCentre(double x, double y, String str, double r, double g, double b, double a) -
DrawStringCentre
-
DrawStringCentreDefered
-
DrawTextFromGameWorld
public void DrawTextFromGameWorld() -
DrawStringRight
-
GetDrawTextObject
-
DrawTextObject
-
DrawStringBBcode
-
getNormalFromFontSize
-
getFontFromEnum
-
getFontHeight
-
DrawStringRight
-
Init
- Throws:
FileNotFoundException
-
MeasureStringX
-
MeasureStringY
-
MeasureFont
-