Class SurvivorDesc
java.lang.Object
zombie.characters.SurvivorDesc
- All Implemented Interfaces:
IHumanVisual
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddHairColor(ColorInfo color) voidaddObservation(String obv) static voidaddTrouserColor(ColorInfo color) voiddressInNamedOutfit(String outfitName) floatfloatintfloatgetDescription(String newStr) floatfloatgetGroup()intgetID()static intvoidgetItemVisuals(ItemVisuals itemVisuals) floatgetLoner()floatse.krka.kahlua.vm.KahluaTablegetMeta()intgetMetCount(SurvivorDesc descriptor) static ColorfloatgetTorso()getType()floatintgetWornItem(ItemBodyLocation itemBodyLocation) booleanbooleanbooleanisCharacterProfession(CharacterProfession characterProfession) booleanisDead()booleanisFemale()booleanbooleanisLeader()booleanbooleanisZombie()voidload(ByteBuffer input, int WorldVersion, IsoGameCharacter chr) voidmeet(SurvivorDesc desc) voidsave(ByteBuffer output) voidsetAggressiveness(float aggressiveness) voidsetBravery(float bravery) voidsetCharacterProfession(CharacterProfession characterProfession) voidsetCompassion(float compassion) voidsetDead(boolean dead) voidsetFavourindoors(float favourindoors) voidsetFemale(boolean bFemale) voidsetForename(String forename) voidsetFriendliness(float friendliness) voidsetID(int id) static voidsetIDCount(int aIDCount) voidsetInstance(IsoGameCharacter Instance) voidsetInventoryScript(String InventoryScript) voidsetLoner(float loner) voidsetLoyalty(float loyalty) voidsetProfessionSkills(CharacterProfessionDefinition characterProfessionDefinition) voidsetSurname(String surname) voidsetTemper(float temper) voidvoidvoidsetVoicePitch(float voicePitch) voidsetVoicePrefix(String voicePrefix) voidsetVoiceType(int voiceType) voidsetWornItem(ItemBodyLocation itemBodyLocation, InventoryItem item)
-
Field Details
-
TrouserCommonColors
-
HairCommonColors
-
-
Constructor Details
-
SurvivorDesc
public SurvivorDesc() -
SurvivorDesc
public SurvivorDesc(boolean bNew) -
SurvivorDesc
-
-
Method Details
-
getHumanVisual
- Specified by:
getHumanVisualin interfaceIHumanVisual
-
getItemVisuals
- Specified by:
getItemVisualsin interfaceIHumanVisual
-
isFemale
public boolean isFemale()- Specified by:
isFemalein interfaceIHumanVisual
-
isZombie
public boolean isZombie()- Specified by:
isZombiein interfaceIHumanVisual
-
isSkeleton
public boolean isSkeleton()- Specified by:
isSkeletonin interfaceIHumanVisual
-
getWornItems
-
setWornItem
-
getWornItem
-
dressInNamedOutfit
-
getVoicePrefix
-
setVoicePrefix
-
getVoiceType
public int getVoiceType() -
setVoiceType
public void setVoiceType(int voiceType) -
getVoicePitch
public float getVoicePitch() -
setVoicePitch
public void setVoicePitch(float voicePitch) -
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() -
setDead
public void setDead(boolean dead) -
meet
-
hasObservation
-
load
- Throws:
IOException
-
save
- Throws:
IOException
-
getDescription
-
addObservation
-
getMetCount
-
getFullname
-
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
-
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
-
isCharacterProfession
-
getCharacterProfession
-
setCharacterProfession
-
isAggressive
public boolean isAggressive() -
getObservations
-
isFriendly
public boolean isFriendly() -
getType
-
setType
-
setFemale
public void setFemale(boolean bFemale) -
getExtras
-
getCommonHairColor
-
addTrouserColor
-
addHairColor
-
getRandomSkinColor
-