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 Details

    • playerLines

      protected zombie.chat.ChatElement.PlayerLines[] playerLines
    • owner

      protected ChatElementOwner 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

      protected TextDrawObject sayLineObject
    • Speaking

      protected boolean Speaking
    • talkerType

      protected java.lang.String talkerType
    • doBackDrop

      public static boolean doBackDrop
    • backdropTexture

      public static NineGridTexture backdropTexture
  • Constructor Details

    • ChatElement

      public ChatElement​(ChatElementOwner chatowner, int numberoflines, java.lang.String talkertype)
  • 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 interface Talker
    • getTalkerType

      public java.lang.String getTalkerType()
      Specified by:
      getTalkerType in interface Talker
    • setTalkerType

      public void setTalkerType​(java.lang.String type)
    • getSayLine

      public java.lang.String getSayLine()
      Specified by:
      getSayLine in interface Talker
    • getSayLineTag

      public java.lang.String getSayLineTag()
    • setHistoryRange

      public void setHistoryRange​(float range)
    • setUseEuclidean

      public void setUseEuclidean​(boolean b)
    • getHasChatToDisplay

      public boolean getHasChatToDisplay()
    • getDistance

      protected float getDistance​(IsoPlayer player)
    • playerWithinBounds

      protected boolean playerWithinBounds​(IsoPlayer player, float dist)
    • SayDebug

      public void SayDebug​(int n, java.lang.String text)
    • Say

      public void Say​(java.lang.String line)
      Specified by:
      Say in interface Talker
    • addChatLine

      public void addChatLine​(java.lang.String msg, float r, float g, float b, float baseRange)
    • addChatLine

      public void addChatLine​(java.lang.String msg, float r, float g, float b)
    • addChatLine

      public void addChatLine​(java.lang.String msg, float r, float g, float b, UIFont font, float baseRange, java.lang.String customTag, boolean bbcode, boolean img, boolean icons, boolean colors, boolean fonts, boolean equalizeHeights)
    • getScrambleValue

      protected float getScrambleValue​(IsoPlayer player, float baseRange)
    • 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)
    • RenderBatch

      public static void RenderBatch​(int playerNum)
    • addNoLogText

      public static void addNoLogText​(java.lang.String text)