Class SurvivorDesc
java.lang.Object
zombie.characters.SurvivorDesc
- All Implemented Interfaces:
IHumanVisual
-
Field Summary
FieldsModifier and TypeFieldDescriptionboolean
static final ArrayList
<ImmutableColor> final HumanVisual
final WornItems
-
Constructor Summary
Constructors -
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
getDescription
(String string1) 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()
float
int
getWornItem
(String bodyLocation) boolean
boolean
boolean
isDead()
boolean
isFemale()
boolean
boolean
isLeader()
boolean
boolean
isZombie()
void
load
(ByteBuffer input, int WorldVersion, IsoGameCharacter chr) void
meet
(SurvivorDesc desc) void
save
(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
setVoicePitch
(float float0) void
setVoicePrefix
(String string) void
setVoiceType
(int int0) 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
-
getVoicePrefix
-
setVoicePrefix
-
getVoiceType
public int getVoiceType() -
setVoiceType
public void setVoiceType(int int0) -
getVoicePitch
public float getVoicePitch() -
setVoicePitch
public void setVoicePitch(float float0) -
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
-
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
-
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
-