Class ChatElement
java.lang.Object
zombie.chat.ChatElement
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionChatElement(ChatElementOwner chatowner, int numberoflines, String talkertype) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddChatLine(String msg, float r, float g, float b) voidaddChatLine(String msg, float r, float g, float b, float baseRange) voidaddChatLine(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 voidaddNoLogText(String text) voidclear(int playerIndex) booleanintbooleanbooleanstatic voidNoRender(int playerNum) static voidRenderBatch(int playerNum) voidrenderBatched(int playerNum, int x, int y) voidrenderBatched(int playerNum, int x, int y, boolean ignoreRadioLines) voidvoidvoidsetHistoryRange(float range) voidsetMaxCharsPerLine(int maxChars) voidsetMaxChatLines(int num) voidsetTalkerType(String type) voidsetUseEuclidean(boolean b) voidupdate()
-
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:
IsSpeakingin interfaceTalker
-
IsSpeakingNPC
public boolean IsSpeakingNPC() -
getTalkerType
- Specified by:
getTalkerTypein interfaceTalker
-
setTalkerType
-
getSayLine
- Specified by:
getSayLinein 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
-