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 boolean1)
SurvivorDesc(SurvivorDesc survivorDesc)
-
Method Summary
Modifier and Type Method Description static void
addHairColor(ColorInfo colorInfo)
void
addObservation(java.lang.String string)
void
AddToGroup(SurvivorGroup survivorGroup)
static void
addTrouserColor(ColorInfo colorInfo)
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 survivorDesc)
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 string)
boolean
InGroupWith(IsoMovingObject movingObject)
boolean
isAggressive()
boolean
isDead()
boolean
isFemale()
boolean
isFriendly()
boolean
IsLeader()
void
load(java.nio.ByteBuffer byteBuffer, int int1, IsoGameCharacter gameCharacter)
void
loadCompact(java.nio.ByteBuffer byteBuffer)
void
meet(SurvivorDesc survivorDesc)
void
save(java.nio.ByteBuffer byteBuffer)
void
saveCompact(java.nio.ByteBuffer byteBuffer)
void
setAggressiveness(float float1)
void
setBeardNumber(int int1)
void
setBottoms(java.lang.String string)
void
setBottomspal(java.lang.String string)
void
setBravery(float float1)
void
setChildrenList(java.util.Stack stack)
void
setCompassion(float float1)
void
setFavourindoors(float float1)
void
setFemale(boolean boolean1)
void
setForename(java.lang.String string)
void
setFriendliness(float float1)
void
setGroup(SurvivorGroup survivorGroup)
void
setHair(java.lang.String string)
void
setHairColor(Color color)
void
setHairNoColor(java.lang.String string)
void
setHairNumber(int int1)
void
setHead(java.lang.String string)
void
setID(int int1)
static void
setIDCount(int int1)
void
setInstance(IsoGameCharacter gameCharacter)
void
setInventoryScript(java.lang.String string)
void
setLegs(java.lang.String string)
void
setLoner(float float1)
void
setLoyalty(float float1)
void
setMetCount(java.util.HashMap hashMap)
void
setParentList(java.util.Stack stack)
void
setProfession(java.lang.String string)
void
setProfessionSkills(ProfessionFactory.Profession profession)
void
setShoes(java.lang.String string)
void
setShoespal(java.lang.String string)
void
setSiblingList(java.util.Stack stack)
void
setSkinpal(java.lang.String string)
void
setSurname(java.lang.String string)
void
setTemper(float float1)
void
setTop(java.lang.String string)
void
setTopColor(Color color)
void
setToppal(java.lang.String string)
void
setTorso(java.lang.String string)
void
setTorsoNumber(int int1)
void
setTrouserColor(Color color)
void
setType(SurvivorFactory.SurvivorType survivorType)
boolean
Test(float float1)
boolean
TestHit(IsoMovingObject movingObject)
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 boolean1) -
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 int1) -
isFemale
public boolean isFemale() -
isDead
public boolean isDead() -
CreateGroup
-
meet
-
hasObservation
public boolean hasObservation(java.lang.String string) -
load
public void load(java.nio.ByteBuffer byteBuffer, int int1, IsoGameCharacter gameCharacter) throws java.io.IOException- Throws:
java.io.IOException
-
save
public void save(java.nio.ByteBuffer byteBuffer) throws java.io.IOException- Throws:
java.io.IOException
-
loadCompact
public void loadCompact(java.nio.ByteBuffer byteBuffer) throws java.io.IOException- Throws:
java.io.IOException
-
saveCompact
public void saveCompact(java.nio.ByteBuffer byteBuffer) throws java.io.IOException- Throws:
java.io.IOException
-
AddToGroup
-
InGroupWith
-
addObservation
public void addObservation(java.lang.String string) -
Test
public boolean Test(float float1) -
getMetCount
-
IsLeader
public boolean IsLeader() -
getGroup
-
setGroup
-
getChildrenList
public java.util.Stack getChildrenList() -
setChildrenList
public void setChildrenList(java.util.Stack stack) -
getForename
public java.lang.String getForename() -
setForename
public void setForename(java.lang.String string) -
getID
public int getID() -
setID
public void setID(int int1) -
getInstance
-
setInstance
-
getParentList
public java.util.Stack getParentList() -
setParentList
public void setParentList(java.util.Stack stack) -
getSiblingList
public java.util.Stack getSiblingList() -
setSiblingList
public void setSiblingList(java.util.Stack stack) -
getSurname
public java.lang.String getSurname() -
setSurname
public void setSurname(java.lang.String string) -
getInventoryScript
public java.lang.String getInventoryScript() -
setInventoryScript
public void setInventoryScript(java.lang.String string) -
getLegs
public java.lang.String getLegs() -
setLegs
public void setLegs(java.lang.String string) -
getTorso
public java.lang.String getTorso() -
setTorso
public void setTorso(java.lang.String string) -
getHead
public java.lang.String getHead() -
setHead
public void setHead(java.lang.String string) -
getTop
public java.lang.String getTop() -
setTop
public void setTop(java.lang.String string) -
getBottoms
public java.lang.String getBottoms() -
setBottoms
public void setBottoms(java.lang.String string) -
getShoes
public java.lang.String getShoes() -
setShoes
public void setShoes(java.lang.String string) -
getShoespal
public java.lang.String getShoespal() -
setShoespal
public void setShoespal(java.lang.String string) -
getBottomspal
public java.lang.String getBottomspal() -
setBottomspal
public void setBottomspal(java.lang.String string) -
getToppal
public java.lang.String getToppal() -
setToppal
public void setToppal(java.lang.String string) -
getSkinpal
public java.lang.String getSkinpal() -
setSkinpal
public void setSkinpal(java.lang.String string) -
getMetCount
public java.util.HashMap getMetCount() -
setMetCount
public void setMetCount(java.util.HashMap hashMap) -
getBravery
public float getBravery() -
setBravery
public void setBravery(float float1) -
getLoner
public float getLoner() -
setLoner
public void setLoner(float float1) -
getAggressiveness
public float getAggressiveness() -
setAggressiveness
public void setAggressiveness(float float1) -
getCompassion
public float getCompassion() -
setCompassion
public void setCompassion(float float1) -
getTemper
public float getTemper() -
setTemper
public void setTemper(float float1) -
getFriendliness
public float getFriendliness() -
setFriendliness
public void setFriendliness(float float1) -
getFavourindoors
public float getFavourindoors() -
setFavourindoors
public void setFavourindoors(float float1) -
getLoyalty
public float getLoyalty() -
setLoyalty
public void setLoyalty(float float1) -
getProfession
public java.lang.String getProfession() -
setProfession
public void setProfession(java.lang.String string) -
isAggressive
public boolean isAggressive() -
getObservations
public java.util.ArrayList getObservations() -
isFriendly
public boolean isFriendly() -
getType
-
setType
-
TestHit
-
setFemale
public void setFemale(boolean boolean1) -
getHairNumber
public int getHairNumber() -
setHairNumber
public void setHairNumber(int int1) -
getTorsoNumber
public int getTorsoNumber() -
setTorsoNumber
public void setTorsoNumber(int int1) -
getHair
public java.lang.String getHair() -
setHair
public void setHair(java.lang.String string) -
getHairNoColor
public java.lang.String getHairNoColor() -
setHairNoColor
public void setHairNoColor(java.lang.String string) -
getHairColor
-
setHairColor
-
getExtras
public java.util.ArrayList getExtras() -
setBeardNumber
public void setBeardNumber(int int1) -
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
-