Class ChatElement
java.lang.Object
zombie.chat.ChatElement
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionChatElement
(ChatElementOwner chatowner, int numberoflines, String talkertype) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addChatLine
(String msg, float r, float g, float b) void
addChatLine
(String msg, float r, float g, float b, float baseRange) void
addChatLine
(String msg, float r, float g, float b, UIFont font, float baseRange, String customTag, boolean bbcode, boolean img, boolean icons, boolean colors, boolean fonts, boolean equalizeHeights) static void
addNoLogText
(String text) void
clear
(int playerIndex) boolean
int
boolean
boolean
static void
NoRender
(int playerNum) static void
RenderBatch
(int playerNum) void
renderBatched
(int playerNum, int x, int y) void
renderBatched
(int playerNum, int x, int y, boolean ignoreRadioLines) void
void
void
setHistoryRange
(float range) void
setMaxCharsPerLine
(int maxChars) void
setMaxChatLines
(int num) void
setTalkerType
(String type) void
setUseEuclidean
(boolean b) void
update()
-
Field Details
-
doBackDrop
public static boolean doBackDrop -
backdropTexture
-
-
Constructor Details
-
ChatElement
-
-
Method Details
-
setMaxChatLines
public void setMaxChatLines(int num) -
getMaxChatLines
public int getMaxChatLines() -
setMaxCharsPerLine
public void setMaxCharsPerLine(int maxChars) -
IsSpeaking
public boolean IsSpeaking()- Specified by:
IsSpeaking
in interfaceTalker
-
IsSpeakingNPC
public boolean IsSpeakingNPC() -
getTalkerType
- Specified by:
getTalkerType
in interfaceTalker
-
setTalkerType
-
getSayLine
- Specified by:
getSayLine
in interfaceTalker
-
getSayLineTag
-
setHistoryRange
public void setHistoryRange(float range) -
setUseEuclidean
public void setUseEuclidean(boolean b) -
getHasChatToDisplay
public boolean getHasChatToDisplay() -
SayDebug
-
Say
-
addChatLine
-
addChatLine
-
addChatLine
-
update
public void update() -
renderBatched
public void renderBatched(int playerNum, int x, int y) -
renderBatched
public void renderBatched(int playerNum, int x, int y, boolean ignoreRadioLines) -
clear
public void clear(int playerIndex) -
RenderBatch
public static void RenderBatch(int playerNum) -
NoRender
public static void NoRender(int playerNum) -
addNoLogText
-