Class ChatElement
java.lang.Object
zombie.chat.ChatElement
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic NineGridTexture
static boolean
protected boolean
protected boolean
protected float
protected float
protected int
protected int
protected ChatElementOwner
protected zombie.chat.ChatElement.PlayerLines[]
protected String
protected TextDrawObject
protected String
protected boolean
protected boolean
protected String
protected boolean
-
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) protected float
getDistance
(IsoPlayer isoPlayer) boolean
int
protected float
getScrambleValue
(IsoPlayer isoPlayer, float float2) boolean
boolean
static void
NoRender
(int playerNum) protected boolean
playerWithinBounds
(IsoPlayer isoPlayer, float float0) 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()
protected void
protected void
-
Field Details
-
playerLines
protected zombie.chat.ChatElement.PlayerLines[] playerLines -
owner
-
historyVal
protected float historyVal -
historyInRange
protected boolean historyInRange -
historyRange
protected float historyRange -
useEuclidean
protected boolean useEuclidean -
hasChatToDisplay
protected boolean hasChatToDisplay -
maxChatLines
protected int maxChatLines -
maxCharsPerLine
protected int maxCharsPerLine -
sayLine
-
sayLineTag
-
sayLineObject
-
Speaking
protected boolean Speaking -
SpeakingNPC
protected boolean SpeakingNPC -
talkerType
-
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() -
getDistance
-
playerWithinBounds
-
SayDebug
-
Say
-
addChatLine
-
addChatLine
-
addChatLine
-
getScrambleValue
-
updateChatLines
protected void updateChatLines() -
updateHistory
protected void updateHistory() -
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
-