Class Faction

java.lang.Object
zombie.characters.Faction

public class Faction
extends java.lang.Object
  • Field Details

    • factions

      public static java.util.ArrayList factions
  • Constructor Details

    • Faction

      public Faction()
    • Faction

      public Faction​(java.lang.String string, java.lang.String string2)
  • Method Details

    • createFaction

      public static Faction createFaction​(java.lang.String string, java.lang.String string2)
    • getFactions

      public static java.util.ArrayList getFactions()
    • canCreateFaction

      public static boolean canCreateFaction​(IsoPlayer player)
    • canCreateTag

      public boolean canCreateTag()
    • isAlreadyInFaction

      public static boolean isAlreadyInFaction​(java.lang.String string)
    • isAlreadyInFaction

      public static boolean isAlreadyInFaction​(IsoPlayer player)
    • removePlayer

      public void removePlayer​(java.lang.String string)
    • factionExist

      public static boolean factionExist​(java.lang.String string)
    • tagExist

      public static boolean tagExist​(java.lang.String string)
    • getPlayerFaction

      public static Faction getPlayerFaction​(IsoPlayer player)
    • getPlayerFaction

      public static Faction getPlayerFaction​(java.lang.String string)
    • getFaction

      public static Faction getFaction​(java.lang.String string)
    • removeFaction

      public void removeFaction()
    • syncFaction

      public void syncFaction()
    • isOwner

      public boolean isOwner​(java.lang.String string)
    • isPlayerMember

      public boolean isPlayerMember​(IsoPlayer player)
    • isMember

      public boolean isMember​(java.lang.String string)
    • writeToBuffer

      public void writeToBuffer​(ByteBufferWriter byteBufferWriter, boolean boolean1)
    • save

      public void save​(java.nio.ByteBuffer byteBuffer)
    • load

      public void load​(java.nio.ByteBuffer byteBuffer, int int1)
    • addPlayer

      public void addPlayer​(java.lang.String string)
    • getPlayers

      public java.util.ArrayList getPlayers()
    • getTagColor

      public ColorInfo getTagColor()
    • setTagColor

      public void setTagColor​(ColorInfo colorInfo)
    • getTag

      public java.lang.String getTag()
    • setTag

      public void setTag​(java.lang.String string)
    • getName

      public java.lang.String getName()
    • setName

      public void setName​(java.lang.String string)
    • getOwner

      public java.lang.String getOwner()
    • setOwner

      public void setOwner​(java.lang.String string)