Package zombie.characters
Class SurvivorDesc
java.lang.Object
zombie.characters.SurvivorDesc
- All Implemented Interfaces:
IHumanVisual
public final class SurvivorDesc extends java.lang.Object implements IHumanVisual
-
Field Summary
Fields Modifier and Type Field Description protected float
aggressiveness
boolean
bDead
protected float
bravery
protected float
compassion
java.util.ArrayList
extra
protected java.lang.String
forename
protected float
friendliness
static java.util.ArrayList
HairCommonColors
HumanVisual
humanVisual
protected int
ID
protected IsoGameCharacter
Instance
protected float
loner
protected float
loyalty
protected java.util.HashMap
MetCount
java.lang.String
Profession
protected java.lang.String
surname
protected float
temper
protected java.lang.String
torso
static java.util.ArrayList
TrouserCommonColors
WornItems
wornItems
-
Constructor Summary
Constructors Constructor Description SurvivorDesc()
SurvivorDesc(boolean boolean1)
SurvivorDesc(SurvivorDesc survivorDesc)
-
Method Summary
Modifier and Type Method Description static void
addHairColor(ColorInfo colorInfo)
void
addObservation(java.lang.String string)
static void
addTrouserColor(ColorInfo colorInfo)
void
dressInNamedOutfit(java.lang.String string)
float
getAggressiveness()
float
getBravery()
int
getCalculatedToughness()
java.util.ArrayList
getCommonHairColor()
float
getCompassion()
java.util.ArrayList
getExtras()
float
getFavourindoors()
java.lang.String
getForename()
float
getFriendliness()
SurvivorGroup
getGroup()
HumanVisual
getHumanVisual()
int
getID()
static int
getIDCount()
IsoGameCharacter
getInstance()
java.lang.String
getInventoryScript()
void
getItemVisuals(ItemVisuals itemVisuals)
float
getLoner()
float
getLoyalty()
KahluaTable
getMeta()
java.util.HashMap
getMetCount()
int
getMetCount(SurvivorDesc survivorDesc)
java.util.ArrayList
getObservations()
java.lang.String
getProfession()
static Color
getRandomSkinColor()
java.lang.String
getSurname()
float
getTemper()
java.lang.String
getTorso()
SurvivorFactory.SurvivorType
getType()
InventoryItem
getWornItem(java.lang.String string)
WornItems
getWornItems()
java.util.HashMap
getXPBoostMap()
boolean
hasObservation(java.lang.String string)
boolean
isAggressive()
boolean
isDead()
boolean
isFemale()
boolean
isFriendly()
boolean
isLeader()
boolean
isSkeleton()
boolean
isZombie()
void
load(java.nio.ByteBuffer byteBuffer, int int1, IsoGameCharacter gameCharacter)
void
loadCompact(java.nio.ByteBuffer byteBuffer)
void
meet(SurvivorDesc survivorDesc)
void
save(java.nio.ByteBuffer byteBuffer)
void
saveCompact(java.nio.ByteBuffer byteBuffer)
void
setAggressiveness(float float1)
void
setBravery(float float1)
void
setCompassion(float float1)
void
setFavourindoors(float float1)
void
setFemale(boolean boolean1)
void
setForename(java.lang.String string)
void
setFriendliness(float float1)
void
setID(int int1)
static void
setIDCount(int int1)
void
setInstance(IsoGameCharacter gameCharacter)
void
setInventoryScript(java.lang.String string)
void
setLoner(float float1)
void
setLoyalty(float float1)
void
setProfession(java.lang.String string)
void
setProfessionSkills(ProfessionFactory.Profession profession)
void
setSurname(java.lang.String string)
void
setTemper(float float1)
void
setTorso(java.lang.String string)
void
setType(SurvivorFactory.SurvivorType survivorType)
void
setWornItem(java.lang.String string, InventoryItem inventoryItem)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
humanVisual
-
wornItems
-
TrouserCommonColors
public static final java.util.ArrayList TrouserCommonColors -
HairCommonColors
public static final java.util.ArrayList HairCommonColors -
Profession
public java.lang.String Profession -
forename
protected java.lang.String forename -
ID
protected int ID -
Instance
-
surname
protected java.lang.String surname -
torso
protected java.lang.String torso -
MetCount
protected final java.util.HashMap 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 java.util.ArrayList extra -
bDead
public boolean bDead
-
-
Constructor Details
-
SurvivorDesc
public SurvivorDesc() -
SurvivorDesc
public SurvivorDesc(boolean boolean1) -
SurvivorDesc
-
-
Method Details
-
getHumanVisual
- Specified by:
getHumanVisual
in interfaceIHumanVisual
-
getItemVisuals
- Specified by:
getItemVisuals
in interfaceIHumanVisual
-
isFemale
public boolean isFemale()- Specified by:
isFemale
in interfaceIHumanVisual
-
isZombie
public boolean isZombie()- Specified by:
isZombie
in interfaceIHumanVisual
-
isSkeleton
public boolean isSkeleton()- Specified by:
isSkeleton
in interfaceIHumanVisual
-
getWornItems
-
setWornItem
-
getWornItem
-
dressInNamedOutfit
public void dressInNamedOutfit(java.lang.String string) -
getGroup
-
isLeader
public boolean isLeader() -
getIDCount
public static int getIDCount() -
setProfessionSkills
-
getXPBoostMap
public java.util.HashMap getXPBoostMap() -
getMeta
-
getCalculatedToughness
public int getCalculatedToughness() -
setIDCount
public static void setIDCount(int int1) -
isDead
public boolean isDead() -
meet
-
hasObservation
public boolean hasObservation(java.lang.String string) -
load
public void load(java.nio.ByteBuffer byteBuffer, int int1, IsoGameCharacter gameCharacter) throws java.io.IOException- Throws:
java.io.IOException
-
save
public void save(java.nio.ByteBuffer byteBuffer) throws java.io.IOException- Throws:
java.io.IOException
-
loadCompact
public void loadCompact(java.nio.ByteBuffer byteBuffer) -
saveCompact
public void saveCompact(java.nio.ByteBuffer byteBuffer) throws java.io.UnsupportedEncodingException- Throws:
java.io.UnsupportedEncodingException
-
addObservation
public void addObservation(java.lang.String string) -
getMetCount
-
getForename
public java.lang.String getForename() -
setForename
public void setForename(java.lang.String string) -
getID
public int getID() -
setID
public void setID(int int1) -
getInstance
-
setInstance
-
getSurname
public java.lang.String getSurname() -
setSurname
public void setSurname(java.lang.String string) -
getInventoryScript
public java.lang.String getInventoryScript() -
setInventoryScript
public void setInventoryScript(java.lang.String string) -
getTorso
public java.lang.String getTorso() -
setTorso
public void setTorso(java.lang.String string) -
getMetCount
public java.util.HashMap getMetCount() -
getBravery
public float getBravery() -
setBravery
public void setBravery(float float1) -
getLoner
public float getLoner() -
setLoner
public void setLoner(float float1) -
getAggressiveness
public float getAggressiveness() -
setAggressiveness
public void setAggressiveness(float float1) -
getCompassion
public float getCompassion() -
setCompassion
public void setCompassion(float float1) -
getTemper
public float getTemper() -
setTemper
public void setTemper(float float1) -
getFriendliness
public float getFriendliness() -
setFriendliness
public void setFriendliness(float float1) -
getFavourindoors
public float getFavourindoors() -
setFavourindoors
public void setFavourindoors(float float1) -
getLoyalty
public float getLoyalty() -
setLoyalty
public void setLoyalty(float float1) -
getProfession
public java.lang.String getProfession() -
setProfession
public void setProfession(java.lang.String string) -
isAggressive
public boolean isAggressive() -
getObservations
public java.util.ArrayList getObservations() -
isFriendly
public boolean isFriendly() -
getType
-
setType
-
setFemale
public void setFemale(boolean boolean1) -
getExtras
public java.util.ArrayList getExtras() -
getCommonHairColor
public java.util.ArrayList getCommonHairColor() -
addTrouserColor
-
addHairColor
-
getRandomSkinColor
-