Package zombie.characters
Class HairOutfitDefinitions
java.lang.Object
zombie.characters.HairOutfitDefinitions
public final class HairOutfitDefinitions
extends java.lang.Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HairOutfitDefinitions.HaircutDefinition
static class
HairOutfitDefinitions.HaircutOutfitDefinition
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
hairStyle
static HairOutfitDefinitions
instance
boolean
m_dirty
java.util.ArrayList
m_haircutDefinition
java.util.ArrayList
m_outfitDefinition
int
minWorldAge
-
Constructor Summary
Constructors Constructor Description HairOutfitDefinitions()
-
Method Summary
Modifier and Type Method Description void
checkDirty()
java.lang.String
getRandomBeard(java.lang.String string, java.util.ArrayList arrayList)
java.lang.String
getRandomHaircut(java.lang.String string, java.util.ArrayList arrayList)
ImmutableColor
getRandomHaircutColor(java.lang.String string)
void
getValidHairStylesForOutfit(java.lang.String string, java.util.ArrayList arrayList, java.util.ArrayList arrayList2)
boolean
isHaircutValid(java.lang.String string, java.lang.String string2)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
instance
-
m_dirty
public boolean m_dirty -
hairStyle
public java.lang.String hairStyle -
minWorldAge
public int minWorldAge -
m_haircutDefinition
public final java.util.ArrayList m_haircutDefinition -
m_outfitDefinition
public final java.util.ArrayList m_outfitDefinition
-
-
Constructor Details
-
HairOutfitDefinitions
public HairOutfitDefinitions()
-
-
Method Details
-
checkDirty
public void checkDirty() -
isHaircutValid
public boolean isHaircutValid(java.lang.String string, java.lang.String string2) -
getValidHairStylesForOutfit
public void getValidHairStylesForOutfit(java.lang.String string, java.util.ArrayList arrayList, java.util.ArrayList arrayList2) -
getRandomHaircut
public java.lang.String getRandomHaircut(java.lang.String string, java.util.ArrayList arrayList) -
getRandomHaircutColor
-
getRandomBeard
public java.lang.String getRandomBeard(java.lang.String string, java.util.ArrayList arrayList)
-