Class SurvivorDesc

java.lang.Object
zombie.characters.SurvivorDesc
All Implemented Interfaces:
IHumanVisual

public final class SurvivorDesc extends Object implements IHumanVisual
  • Field Details

  • Constructor Details

    • SurvivorDesc

      public SurvivorDesc()
    • SurvivorDesc

      public SurvivorDesc(boolean bNew)
    • SurvivorDesc

      public SurvivorDesc(SurvivorDesc other)
  • Method Details

    • getHumanVisual

      public HumanVisual getHumanVisual()
      Specified by:
      getHumanVisual in interface IHumanVisual
    • getItemVisuals

      public void getItemVisuals(ItemVisuals itemVisuals)
      Specified by:
      getItemVisuals in interface IHumanVisual
    • isFemale

      public boolean isFemale()
      Specified by:
      isFemale in interface IHumanVisual
    • isZombie

      public boolean isZombie()
      Specified by:
      isZombie in interface IHumanVisual
    • isSkeleton

      public boolean isSkeleton()
      Specified by:
      isSkeleton in interface IHumanVisual
    • getWornItems

      public WornItems getWornItems()
    • setWornItem

      public void setWornItem(String bodyLocation, InventoryItem item)
    • getWornItem

      public InventoryItem getWornItem(String bodyLocation)
    • dressInNamedOutfit

      public void dressInNamedOutfit(String outfitName)
    • getGroup

      public SurvivorGroup getGroup()
    • isLeader

      public boolean isLeader()
    • getIDCount

      public static int getIDCount()
      Returns:
      the IDCount
    • setProfessionSkills

      public void setProfessionSkills(ProfessionFactory.Profession profession)
    • getXPBoostMap

      public HashMap<PerkFactory.Perk,Integer> getXPBoostMap()
    • getMeta

      public se.krka.kahlua.vm.KahluaTable getMeta()
    • getCalculatedToughness

      public int getCalculatedToughness()
    • setIDCount

      public static void setIDCount(int aIDCount)
      Parameters:
      aIDCount - the IDCount to set
    • isDead

      public boolean isDead()
    • meet

      public void meet(SurvivorDesc desc)
    • hasObservation

      public boolean hasObservation(String o)
    • load

      public void load(ByteBuffer input, int WorldVersion, IsoGameCharacter chr) throws IOException
      Throws:
      IOException
    • save

      public void save(ByteBuffer output) throws IOException
      Throws:
      IOException
    • loadCompact

      public void loadCompact(ByteBuffer input)
    • saveCompact

      public void saveCompact(ByteBuffer output) throws UnsupportedEncodingException
      Throws:
      UnsupportedEncodingException
    • addObservation

      public void addObservation(String obv)
    • getMetCount

      public int getMetCount(SurvivorDesc descriptor)
    • getForename

      public String getForename()
      Returns:
      the forename
    • setForename

      public void setForename(String forename)
      Parameters:
      forename - the forename to set
    • getID

      public int getID()
      Returns:
      the ID
    • setID

      public void setID(int ID)
      Parameters:
      ID - the ID to set
    • getInstance

      public IsoGameCharacter getInstance()
      Returns:
      the Instance
    • setInstance

      public void setInstance(IsoGameCharacter Instance)
      Parameters:
      Instance - the Instance to set
    • getSurname

      public String getSurname()
      Returns:
      the surname
    • setSurname

      public void setSurname(String surname)
      Parameters:
      surname - the surname to set
    • getInventoryScript

      public String getInventoryScript()
      Returns:
      the InventoryScript
    • setInventoryScript

      public void setInventoryScript(String InventoryScript)
      Parameters:
      InventoryScript - the InventoryScript to set
    • getTorso

      public String getTorso()
      Returns:
      the torso
    • setTorso

      public void setTorso(String torso)
      Parameters:
      torso - the torso to set
    • getMetCount

      public HashMap<Integer,Integer> getMetCount()
      Returns:
      the MetCount
    • getBravery

      public float getBravery()
      Returns:
      the bravery
    • setBravery

      public void setBravery(float bravery)
      Parameters:
      bravery - the bravery to set
    • getLoner

      public float getLoner()
      Returns:
      the loner
    • setLoner

      public void setLoner(float loner)
      Parameters:
      loner - the loner to set
    • getAggressiveness

      public float getAggressiveness()
      Returns:
      the aggressiveness
    • setAggressiveness

      public void setAggressiveness(float aggressiveness)
      Parameters:
      aggressiveness - the aggressiveness to set
    • getCompassion

      public float getCompassion()
      Returns:
      the compassion
    • setCompassion

      public void setCompassion(float compassion)
      Parameters:
      compassion - the compassion to set
    • getTemper

      public float getTemper()
      Returns:
      the temper
    • setTemper

      public void setTemper(float temper)
      Parameters:
      temper - the temper to set
    • getFriendliness

      public float getFriendliness()
      Returns:
      the friendliness
    • setFriendliness

      public void setFriendliness(float friendliness)
      Parameters:
      friendliness - the friendliness to set
    • getFavourindoors

      public float getFavourindoors()
      Returns:
      the favourindoors
    • setFavourindoors

      public void setFavourindoors(float favourindoors)
      Parameters:
      favourindoors - the favourindoors to set
    • getLoyalty

      public float getLoyalty()
      Returns:
      the loyalty
    • setLoyalty

      public void setLoyalty(float loyalty)
      Parameters:
      loyalty - the loyalty to set
    • getProfession

      public String getProfession()
      Returns:
      the Profession
    • setProfession

      public void setProfession(String Profession)
      Parameters:
      Profession - the Profession to set
    • isAggressive

      public boolean isAggressive()
    • getObservations

      public ArrayList<ObservationFactory.Observation> getObservations()
    • isFriendly

      public boolean isFriendly()
    • getType

      public SurvivorFactory.SurvivorType getType()
    • setType

      public void setType(SurvivorFactory.SurvivorType type)
    • setFemale

      public void setFemale(boolean bFemale)
    • getExtras

      public ArrayList<String> getExtras()
    • getCommonHairColor

      public ArrayList<ImmutableColor> getCommonHairColor()
    • addTrouserColor

      public static void addTrouserColor(ColorInfo color)
    • addHairColor

      public static void addHairColor(ColorInfo color)
    • getRandomSkinColor

      public static Color getRandomSkinColor()