Class SurvivorDesc
java.lang.Object
zombie.characters.SurvivorDesc
- All Implemented Interfaces:
IHumanVisual
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected float
boolean
protected float
protected float
protected String
protected float
static final ArrayList
<ImmutableColor> final HumanVisual
protected int
protected IsoGameCharacter
protected float
protected float
protected String
protected float
protected String
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
-
forename
-
ID
protected int ID -
Instance
-
surname
-
torso
-
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
-
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) -
isDead
public boolean isDead() -
meet
-
hasObservation
-
load
- Throws:
IOException
-
save
- Throws:
IOException
-
getDescription
-
addObservation
-
getMetCount
-
getFullname
-
getForename
- Returns:
- the forename
-
setForename
-
getID
public int getID()- Returns:
- the ID
-
setID
public void setID(int _ID) -
getInstance
- Returns:
- the Instance
-
setInstance
-
getSurname
- Returns:
- the surname
-
setSurname
-
getInventoryScript
- Returns:
- the InventoryScript
-
setInventoryScript
-
getTorso
- Returns:
- the torso
-
setTorso
-
getMetCount
-
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
- Returns:
- the Profession
-
setProfession
-
isAggressive
public boolean isAggressive() -
getObservations
-
isFriendly
public boolean isFriendly() -
getType
-
setType
-
setFemale
public void setFemale(boolean _bFemale) -
getExtras
-
getCommonHairColor
-
addTrouserColor
-
addHairColor
-
getRandomSkinColor
-