Class SurvivorDesc

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

public final class SurvivorDesc extends Object implements IHumanVisual
  • Field Details

    • humanVisual

      public final HumanVisual humanVisual
    • wornItems

      public final WornItems wornItems
    • TrouserCommonColors

      public static final ArrayList<Color> TrouserCommonColors
    • HairCommonColors

      public static final ArrayList<ImmutableColor> HairCommonColors
    • Profession

      public String Profession
    • forename

      protected String forename
    • ID

      protected int ID
    • Instance

      protected IsoGameCharacter Instance
    • surname

      protected String surname
    • torso

      protected String torso
    • MetCount

      protected final HashMap<Integer,Integer> MetCount
    • bravery

      protected float bravery
    • loner

      protected float loner
    • aggressiveness

      protected float aggressiveness
    • compassion

      protected float compassion
    • temper

      protected float temper
    • friendliness

      protected float friendliness
    • loyalty

      protected float loyalty
    • extra

      public final ArrayList<String> extra
    • bDead

      public boolean bDead
  • 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)
    • getVoicePrefix

      public String getVoicePrefix()
    • setVoicePrefix

      public void setVoicePrefix(String string)
    • getVoiceType

      public int getVoiceType()
    • setVoiceType

      public void setVoiceType(int int0)
    • getVoicePitch

      public float getVoicePitch()
    • setVoicePitch

      public void setVoicePitch(float float0)
    • 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)
    • 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
    • getDescription

      public String getDescription(String string1)
    • addObservation

      public void addObservation(String obv)
    • getMetCount

      public int getMetCount(SurvivorDesc descriptor)
    • getFullname

      public String getFullname()
    • getForename

      public String getForename()
      Returns:
      the forename
    • setForename

      public void setForename(String _forename)
    • getID

      public int getID()
      Returns:
      the ID
    • setID

      public void setID(int _ID)
    • getInstance

      public IsoGameCharacter getInstance()
      Returns:
      the Instance
    • setInstance

      public void setInstance(IsoGameCharacter _Instance)
    • getSurname

      public String getSurname()
      Returns:
      the surname
    • setSurname

      public void setSurname(String _surname)
    • getInventoryScript

      public String getInventoryScript()
      Returns:
      the InventoryScript
    • setInventoryScript

      public void setInventoryScript(String _InventoryScript)
    • getTorso

      public String getTorso()
      Returns:
      the torso
    • setTorso

      public void setTorso(String _torso)
    • getMetCount

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

      public float getBravery()
      Returns:
      the bravery
    • setBravery

      public void setBravery(float _bravery)
    • getLoner

      public float getLoner()
      Returns:
      the loner
    • setLoner

      public void setLoner(float _loner)
    • getAggressiveness

      public float getAggressiveness()
      Returns:
      the aggressiveness
    • setAggressiveness

      public void setAggressiveness(float _aggressiveness)
    • getCompassion

      public float getCompassion()
      Returns:
      the compassion
    • setCompassion

      public void setCompassion(float _compassion)
    • getTemper

      public float getTemper()
      Returns:
      the temper
    • setTemper

      public void setTemper(float _temper)
    • getFriendliness

      public float getFriendliness()
      Returns:
      the friendliness
    • setFriendliness

      public void setFriendliness(float _friendliness)
    • getFavourindoors

      public float getFavourindoors()
      Returns:
      the favourindoors
    • setFavourindoors

      public void setFavourindoors(float _favourindoors)
    • getLoyalty

      public float getLoyalty()
      Returns:
      the loyalty
    • setLoyalty

      public void setLoyalty(float _loyalty)
    • getProfession

      public String getProfession()
      Returns:
      the Profession
    • setProfession

      public void setProfession(String _Profession)
    • 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()