Package zombie.characters
Class SurvivorDesc
java.lang.Object
zombie.characters.SurvivorDesc
public class SurvivorDesc
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description protected float
aggressiveness
boolean
bDead
java.lang.String
beard
java.lang.String
beardNoColor
java.lang.String
bottoms
java.lang.String
bottomspal
protected float
bravery
protected java.util.Stack
ChildrenList
protected float
compassion
java.util.ArrayList
extra
protected float
favourindoors
protected java.lang.String
forename
protected float
friendliness
protected SurvivorGroup
Group
java.lang.String
hair
Color
hairColor
static java.util.ArrayList
HairCommonColors
java.lang.String
hairNoColor
protected java.lang.String
head
protected int
ID
protected static int
IDCount
protected IsoGameCharacter
Instance
protected java.lang.String
InventoryScript
protected java.lang.String
legs
protected float
loner
protected float
loyalty
protected java.util.HashMap
MetCount
java.util.ArrayList
Observations
protected java.util.Stack
ParentList
java.lang.String
Profession
java.lang.String
shoes
java.lang.String
shoespal
protected java.util.Stack
SiblingList
Color
skinColor
java.lang.String
skinpal
protected java.lang.String
surname
protected float
temper
java.lang.String
top
Color
topColor
java.lang.String
toppal
protected java.lang.String
torso
int
torsoNumber
Color
trouserColor
static java.util.ArrayList
TrouserCommonColors
java.util.HashMap
xpBoostMap
-
Constructor Summary
Constructors Constructor Description SurvivorDesc()
SurvivorDesc(boolean bNew)
SurvivorDesc(SurvivorDesc other)
-
Method Summary
Modifier and Type Method Description static void
addHairColor(ColorInfo color)
void
addObservation(java.lang.String obv)
void
AddToGroup(SurvivorGroup Group)
static void
addTrouserColor(ColorInfo color)
SurvivorGroup
CreateGroup()
float
getAggressiveness()
java.lang.String
getBeardNoColor()
int
getBeardNumber()
java.lang.String
getBottoms()
java.lang.String
getBottomspal()
float
getBravery()
int
getCalculatedToughness()
java.util.Stack
getChildrenList()
java.util.ArrayList
getCommonHairColor()
java.util.ArrayList
getCommonTrouserColor()
float
getCompassion()
java.util.ArrayList
getExtras()
float
getFavourindoors()
java.lang.String
getForename()
float
getFriendliness()
SurvivorGroup
getGroup()
java.lang.String
getHair()
ColorInfo
getHairColor()
java.lang.String
getHairNoColor()
int
getHairNumber()
java.lang.String
getHead()
int
getID()
static int
getIDCount()
IsoGameCharacter
getInstance()
java.lang.String
getInventoryScript()
java.lang.String
getLegs()
float
getLoner()
float
getLoyalty()
KahluaTable
getMeta()
java.util.HashMap
getMetCount()
int
getMetCount(SurvivorDesc descriptor)
java.util.ArrayList
getObservations()
java.util.Stack
getParentList()
java.lang.String
getProfession()
static Color
getRandomSkinColor()
java.lang.String
getShoes()
java.lang.String
getShoespal()
java.util.Stack
getSiblingList()
java.lang.String
getSkinpal()
java.lang.String
getSurname()
float
getTemper()
java.lang.String
getTop()
ColorInfo
getTopColor()
java.lang.String
getToppal()
java.lang.String
getTorso()
int
getTorsoNumber()
ColorInfo
getTrouserColor()
SurvivorFactory.SurvivorType
getType()
java.util.HashMap
getXPBoostMap()
boolean
hasObservation(java.lang.String o)
boolean
InGroupWith(IsoMovingObject obj)
boolean
isAggressive()
boolean
isDead()
boolean
isFemale()
boolean
isFriendly()
boolean
IsLeader()
void
load(java.nio.ByteBuffer input, int WorldVersion, IsoGameCharacter chr)
void
loadCompact(java.nio.ByteBuffer input)
void
meet(SurvivorDesc desc)
void
save(java.nio.ByteBuffer output)
void
saveCompact(java.nio.ByteBuffer output)
void
setAggressiveness(float aggressiveness)
void
setBeardNumber(int beardNumber)
void
setBottoms(java.lang.String bottoms)
void
setBottomspal(java.lang.String bottomspal)
void
setBravery(float bravery)
void
setChildrenList(java.util.Stack ChildrenList)
void
setCompassion(float compassion)
void
setFavourindoors(float favourindoors)
void
setFemale(boolean bFemale)
void
setForename(java.lang.String forename)
void
setFriendliness(float friendliness)
void
setGroup(SurvivorGroup Group)
void
setHair(java.lang.String hair)
void
setHairColor(Color hairColor)
void
setHairNoColor(java.lang.String hairNoColor)
void
setHairNumber(int hairNumber)
void
setHead(java.lang.String head)
void
setID(int ID)
static void
setIDCount(int aIDCount)
void
setInstance(IsoGameCharacter Instance)
void
setInventoryScript(java.lang.String InventoryScript)
void
setLegs(java.lang.String legs)
void
setLoner(float loner)
void
setLoyalty(float loyalty)
void
setMetCount(java.util.HashMap MetCount)
void
setParentList(java.util.Stack ParentList)
void
setProfession(java.lang.String Profession)
void
setProfessionSkills(ProfessionFactory.Profession profession)
void
setShoes(java.lang.String shoes)
void
setShoespal(java.lang.String shoespal)
void
setSiblingList(java.util.Stack SiblingList)
void
setSkinpal(java.lang.String skinpal)
void
setSurname(java.lang.String surname)
void
setTemper(float temper)
void
setTop(java.lang.String top)
void
setTopColor(Color color)
void
setToppal(java.lang.String toppal)
void
setTorso(java.lang.String torso)
void
setTorsoNumber(int torsoNumber)
void
setTrouserColor(Color color)
void
setType(SurvivorFactory.SurvivorType type)
boolean
Test(float val)
boolean
TestHit(IsoMovingObject o)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
IDCount
protected static int IDCount -
trouserColor
-
topColor
-
hairColor
-
skinColor
-
TrouserCommonColors
public static java.util.ArrayList TrouserCommonColors -
HairCommonColors
public static java.util.ArrayList HairCommonColors -
xpBoostMap
public java.util.HashMap xpBoostMap -
Profession
public java.lang.String Profession -
Group
-
ChildrenList
protected java.util.Stack ChildrenList -
forename
protected java.lang.String forename -
ID
protected int ID -
Instance
-
ParentList
protected java.util.Stack ParentList -
SiblingList
protected java.util.Stack SiblingList -
surname
protected java.lang.String surname -
InventoryScript
protected java.lang.String InventoryScript -
legs
protected java.lang.String legs -
torso
protected java.lang.String torso -
head
protected java.lang.String head -
top
public java.lang.String top -
bottoms
public java.lang.String bottoms -
shoes
public java.lang.String shoes -
shoespal
public java.lang.String shoespal -
bottomspal
public java.lang.String bottomspal -
toppal
public java.lang.String toppal -
skinpal
public java.lang.String skinpal -
MetCount
protected 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 -
favourindoors
protected float favourindoors -
loyalty
protected float loyalty -
hair
public java.lang.String hair -
hairNoColor
public java.lang.String hairNoColor -
extra
public java.util.ArrayList extra -
beard
public java.lang.String beard -
Observations
public java.util.ArrayList Observations -
bDead
public boolean bDead -
torsoNumber
public int torsoNumber -
beardNoColor
public java.lang.String beardNoColor
-
-
Constructor Details
-
SurvivorDesc
public SurvivorDesc() -
SurvivorDesc
public SurvivorDesc(boolean bNew) -
SurvivorDesc
-
-
Method Details
-
getIDCount
public static int getIDCount() -
setProfessionSkills
-
getXPBoostMap
public java.util.HashMap getXPBoostMap() -
getMeta
-
getCalculatedToughness
public int getCalculatedToughness() -
setIDCount
public static void setIDCount(int aIDCount) -
isFemale
public boolean isFemale() -
isDead
public boolean isDead() -
CreateGroup
-
meet
-
hasObservation
public boolean hasObservation(java.lang.String o) -
load
public void load(java.nio.ByteBuffer input, int WorldVersion, IsoGameCharacter chr) throws java.io.IOException- Throws:
java.io.IOException
-
save
public void save(java.nio.ByteBuffer output) throws java.io.IOException- Throws:
java.io.IOException
-
loadCompact
public void loadCompact(java.nio.ByteBuffer input) throws java.io.IOException- Throws:
java.io.IOException
-
saveCompact
public void saveCompact(java.nio.ByteBuffer output) throws java.io.IOException- Throws:
java.io.IOException
-
AddToGroup
-
InGroupWith
-
addObservation
public void addObservation(java.lang.String obv) -
Test
public boolean Test(float val) -
getMetCount
-
IsLeader
public boolean IsLeader() -
getGroup
-
setGroup
-
getChildrenList
public java.util.Stack getChildrenList() -
setChildrenList
public void setChildrenList(java.util.Stack ChildrenList) -
getForename
public java.lang.String getForename() -
setForename
public void setForename(java.lang.String forename) -
getID
public int getID() -
setID
public void setID(int ID) -
getInstance
-
setInstance
-
getParentList
public java.util.Stack getParentList() -
setParentList
public void setParentList(java.util.Stack ParentList) -
getSiblingList
public java.util.Stack getSiblingList() -
setSiblingList
public void setSiblingList(java.util.Stack SiblingList) -
getSurname
public java.lang.String getSurname() -
setSurname
public void setSurname(java.lang.String surname) -
getInventoryScript
public java.lang.String getInventoryScript() -
setInventoryScript
public void setInventoryScript(java.lang.String InventoryScript) -
getLegs
public java.lang.String getLegs() -
setLegs
public void setLegs(java.lang.String legs) -
getTorso
public java.lang.String getTorso() -
setTorso
public void setTorso(java.lang.String torso) -
getHead
public java.lang.String getHead() -
setHead
public void setHead(java.lang.String head) -
getTop
public java.lang.String getTop() -
setTop
public void setTop(java.lang.String top) -
getBottoms
public java.lang.String getBottoms() -
setBottoms
public void setBottoms(java.lang.String bottoms) -
getShoes
public java.lang.String getShoes() -
setShoes
public void setShoes(java.lang.String shoes) -
getShoespal
public java.lang.String getShoespal() -
setShoespal
public void setShoespal(java.lang.String shoespal) -
getBottomspal
public java.lang.String getBottomspal() -
setBottomspal
public void setBottomspal(java.lang.String bottomspal) -
getToppal
public java.lang.String getToppal() -
setToppal
public void setToppal(java.lang.String toppal) -
getSkinpal
public java.lang.String getSkinpal() -
setSkinpal
public void setSkinpal(java.lang.String skinpal) -
getMetCount
public java.util.HashMap getMetCount() -
setMetCount
public void setMetCount(java.util.HashMap MetCount) -
getBravery
public float getBravery() -
setBravery
public void setBravery(float bravery) -
getLoner
public float getLoner() -
setLoner
public void setLoner(float loner) -
getAggressiveness
public float getAggressiveness() -
setAggressiveness
public void setAggressiveness(float aggressiveness) -
getCompassion
public float getCompassion() -
setCompassion
public void setCompassion(float compassion) -
getTemper
public float getTemper() -
setTemper
public void setTemper(float temper) -
getFriendliness
public float getFriendliness() -
setFriendliness
public void setFriendliness(float friendliness) -
getFavourindoors
public float getFavourindoors() -
setFavourindoors
public void setFavourindoors(float favourindoors) -
getLoyalty
public float getLoyalty() -
setLoyalty
public void setLoyalty(float loyalty) -
getProfession
public java.lang.String getProfession() -
setProfession
public void setProfession(java.lang.String Profession) -
isAggressive
public boolean isAggressive() -
getObservations
public java.util.ArrayList getObservations() -
isFriendly
public boolean isFriendly() -
getType
-
setType
-
TestHit
-
setFemale
public void setFemale(boolean bFemale) -
getHairNumber
public int getHairNumber() -
setHairNumber
public void setHairNumber(int hairNumber) -
getTorsoNumber
public int getTorsoNumber() -
setTorsoNumber
public void setTorsoNumber(int torsoNumber) -
getHair
public java.lang.String getHair() -
setHair
public void setHair(java.lang.String hair) -
getHairNoColor
public java.lang.String getHairNoColor() -
setHairNoColor
public void setHairNoColor(java.lang.String hairNoColor) -
getHairColor
-
setHairColor
-
getExtras
public java.util.ArrayList getExtras() -
setBeardNumber
public void setBeardNumber(int beardNumber) -
getBeardNumber
public int getBeardNumber() -
getBeardNoColor
public java.lang.String getBeardNoColor() -
getCommonHairColor
public java.util.ArrayList getCommonHairColor() -
getCommonTrouserColor
public java.util.ArrayList getCommonTrouserColor() -
addTrouserColor
-
addHairColor
-
setTrouserColor
-
setTopColor
-
getTrouserColor
-
getTopColor
-
getRandomSkinColor
-