Package zombie.chat
Class ChatElement
java.lang.Object
zombie.chat.ChatElement
- All Implemented Interfaces:
Talker
public class ChatElement extends java.lang.Object implements Talker
-
Field Summary
Fields Modifier and Type Field Description static NineGridTexture
backdropTexture
static boolean
doBackDrop
protected boolean
hasChatToDisplay
protected boolean
historyInRange
protected float
historyRange
protected float
historyVal
protected int
maxCharsPerLine
protected int
maxChatLines
protected ChatElementOwner
owner
protected zombie.chat.ChatElement.PlayerLines[]
playerLines
protected java.lang.String
sayLine
protected TextDrawObject
sayLineObject
protected java.lang.String
sayLineTag
protected boolean
Speaking
protected java.lang.String
talkerType
protected boolean
useEuclidean
-
Constructor Summary
Constructors Constructor Description ChatElement(ChatElementOwner chatElementOwner, int int1, java.lang.String string)
-
Method Summary
Modifier and Type Method Description void
addChatLine(java.lang.String string, float float1, float float2, float float3)
void
addChatLine(java.lang.String string, float float1, float float2, float float3, float float4)
void
addChatLine(java.lang.String string, float float1, float float2, float float3, UIFont uIFont, float float4, java.lang.String string2, boolean boolean1, boolean boolean2, boolean boolean3, boolean boolean4, boolean boolean5, boolean boolean6)
static void
addNoLogText(java.lang.String string)
void
clear(int int1)
protected float
getDistance(IsoPlayer player)
boolean
getHasChatToDisplay()
int
getMaxChatLines()
java.lang.String
getSayLine()
java.lang.String
getSayLineTag()
protected float
getScrambleValue(IsoPlayer player, float float1)
java.lang.String
getTalkerType()
boolean
IsSpeaking()
static void
NoRender(int int1)
protected boolean
playerWithinBounds(IsoPlayer player, float float1)
static void
RenderBatch(int int1)
void
renderBatched(int int1, int int2, int int3)
void
renderBatched(int int1, int int2, int int3, boolean boolean1)
void
Say(java.lang.String string)
void
SayDebug(int int1, java.lang.String string)
void
setHistoryRange(float float1)
void
setMaxCharsPerLine(int int1)
void
setMaxChatLines(int int1)
void
setTalkerType(java.lang.String string)
void
setUseEuclidean(boolean boolean1)
void
update()
protected void
updateChatLines()
protected void
updateHistory()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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
protected java.lang.String sayLine -
sayLineTag
protected java.lang.String sayLineTag -
sayLineObject
-
Speaking
protected boolean Speaking -
talkerType
protected java.lang.String talkerType -
doBackDrop
public static boolean doBackDrop -
backdropTexture
-
-
Constructor Details
-
ChatElement
-
-
Method Details
-
setMaxChatLines
public void setMaxChatLines(int int1) -
getMaxChatLines
public int getMaxChatLines() -
setMaxCharsPerLine
public void setMaxCharsPerLine(int int1) -
IsSpeaking
public boolean IsSpeaking()- Specified by:
IsSpeaking
in interfaceTalker
-
getTalkerType
public java.lang.String getTalkerType()- Specified by:
getTalkerType
in interfaceTalker
-
setTalkerType
public void setTalkerType(java.lang.String string) -
getSayLine
public java.lang.String getSayLine()- Specified by:
getSayLine
in interfaceTalker
-
getSayLineTag
public java.lang.String getSayLineTag() -
setHistoryRange
public void setHistoryRange(float float1) -
setUseEuclidean
public void setUseEuclidean(boolean boolean1) -
getHasChatToDisplay
public boolean getHasChatToDisplay() -
getDistance
-
playerWithinBounds
-
SayDebug
public void SayDebug(int int1, java.lang.String string) -
Say
public void Say(java.lang.String string) -
addChatLine
public void addChatLine(java.lang.String string, float float1, float float2, float float3, float float4) -
addChatLine
public void addChatLine(java.lang.String string, float float1, float float2, float float3) -
addChatLine
public void addChatLine(java.lang.String string, float float1, float float2, float float3, UIFont uIFont, float float4, java.lang.String string2, boolean boolean1, boolean boolean2, boolean boolean3, boolean boolean4, boolean boolean5, boolean boolean6) -
getScrambleValue
-
updateChatLines
protected void updateChatLines() -
updateHistory
protected void updateHistory() -
update
public void update() -
renderBatched
public void renderBatched(int int1, int int2, int int3) -
renderBatched
public void renderBatched(int int1, int int2, int int3, boolean boolean1) -
clear
public void clear(int int1) -
RenderBatch
public static void RenderBatch(int int1) -
NoRender
public static void NoRender(int int1) -
addNoLogText
public static void addNoLogText(java.lang.String string)
-