Package zombie.characters
Class SurvivorDesc
java.lang.Object
zombie.characters.SurvivorDesc
- All Implemented Interfaces:
IHumanVisual
-
Field Summary
Modifier and TypeFieldDescriptionboolean
static final ArrayList<ImmutableColor>
final HumanVisual
final WornItems
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
addHairColor
(ColorInfo color) void
addObservation
(String obv) static void
addTrouserColor
(ColorInfo color) void
dressInNamedOutfit
(String outfitName) float
float
int
float
float
float
getGroup()
int
getID()
static int
void
getItemVisuals
(ItemVisuals itemVisuals) float
getLoner()
float
se.krka.kahlua.vm.KahluaTable
getMeta()
int
getMetCount
(SurvivorDesc descriptor) static Color
float
getTorso()
getType()
getWornItem
(String bodyLocation) boolean
boolean
boolean
isDead()
boolean
isFemale()
boolean
boolean
isLeader()
boolean
boolean
isZombie()
void
load
(ByteBuffer input, int WorldVersion, IsoGameCharacter chr) void
loadCompact
(ByteBuffer input) void
meet
(SurvivorDesc desc) void
save
(ByteBuffer output) void
saveCompact
(ByteBuffer output) void
setAggressiveness
(float aggressiveness) void
setBravery
(float bravery) void
setCompassion
(float compassion) void
setFavourindoors
(float favourindoors) void
setFemale
(boolean bFemale) void
setForename
(String forename) void
setFriendliness
(float friendliness) void
setID
(int ID) static void
setIDCount
(int aIDCount) void
setInstance
(IsoGameCharacter Instance) void
setInventoryScript
(String InventoryScript) void
setLoner
(float loner) void
setLoyalty
(float loyalty) void
setProfession
(String Profession) void
setProfessionSkills
(ProfessionFactory.Profession profession) void
setSurname
(String surname) void
setTemper
(float temper) void
void
void
setWornItem
(String bodyLocation, InventoryItem item)
-
Field Details
-
humanVisual
-
wornItems
-
TrouserCommonColors
-
HairCommonColors
-
Profession
-
extra
-
bDead
public boolean bDead
-
-
Constructor Details
-
SurvivorDesc
public SurvivorDesc() -
SurvivorDesc
public SurvivorDesc(boolean bNew) -
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
-
getGroup
-
isLeader
public boolean isLeader() -
getIDCount
public static int getIDCount()- Returns:
- the IDCount
-
setProfessionSkills
-
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
-
hasObservation
-
load
- Throws:
IOException
-
save
- Throws:
IOException
-
loadCompact
-
saveCompact
- Throws:
UnsupportedEncodingException
-
addObservation
-
getMetCount
-
getForename
- Returns:
- the forename
-
setForename
- 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
- Returns:
- the Instance
-
setInstance
- Parameters:
Instance
- the Instance to set
-
getSurname
- Returns:
- the surname
-
setSurname
- Parameters:
surname
- the surname to set
-
getInventoryScript
- Returns:
- the InventoryScript
-
setInventoryScript
- Parameters:
InventoryScript
- the InventoryScript to set
-
getTorso
- Returns:
- the torso
-
setTorso
- Parameters:
torso
- the torso to set
-
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
- Returns:
- the Profession
-
setProfession
- Parameters:
Profession
- the Profession to set
-
isAggressive
public boolean isAggressive() -
getObservations
-
isFriendly
public boolean isFriendly() -
getType
-
setType
-
setFemale
public void setFemale(boolean bFemale) -
getExtras
-
getCommonHairColor
-
addTrouserColor
-
addHairColor
-
getRandomSkinColor
-