Package zombie.characters
Class SurvivorFactory
java.lang.Object
zombie.characters.SurvivorFactory
public class SurvivorFactory
extends java.lang.Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SurvivorFactory.SurvivorType
-
Field Summary
Fields Modifier and Type Field Description static java.util.ArrayList
FemaleForenames
static java.util.ArrayList
MaleForenames
static java.util.ArrayList
Surnames
-
Constructor Summary
Constructors Constructor Description SurvivorFactory()
-
Method Summary
Modifier and Type Method Description static void
addFemaleForename(java.lang.String string)
static void
addMaleForename(java.lang.String string)
static void
addSurname(java.lang.String string)
static SurvivorDesc[]
CreateFamily(int int1)
static SurvivorDesc
CreateSurvivor()
static SurvivorDesc
CreateSurvivor(SurvivorFactory.SurvivorType survivorType)
static SurvivorDesc
CreateSurvivor(SurvivorFactory.SurvivorType survivorType, boolean boolean1)
static SurvivorDesc[]
CreateSurvivorGroup(int int1)
static IsoSurvivor
InstansiateInCell(SurvivorDesc survivorDesc, IsoCell cell, int int1, int int2, int int3)
static void
randomName(SurvivorDesc survivorDesc)
static void
Reset()
static void
setBeardNoColor(SurvivorDesc survivorDesc)
static void
setHairNoColor(SurvivorDesc survivorDesc)
static void
setTorso(SurvivorDesc survivorDesc)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
FemaleForenames
public static java.util.ArrayList FemaleForenames -
MaleForenames
public static java.util.ArrayList MaleForenames -
Surnames
public static java.util.ArrayList Surnames
-
-
Constructor Details
-
SurvivorFactory
public SurvivorFactory()
-
-
Method Details
-
Reset
public static void Reset() -
CreateFamily
-
CreateSurvivor
-
CreateSurvivor
public static SurvivorDesc CreateSurvivor(SurvivorFactory.SurvivorType survivorType, boolean boolean1) -
setBeardNoColor
-
setTorso
-
setHairNoColor
-
CreateSurvivor
-
CreateSurvivorGroup
-
InstansiateInCell
public static IsoSurvivor InstansiateInCell(SurvivorDesc survivorDesc, IsoCell cell, int int1, int int2, int int3) -
randomName
-
addSurname
public static void addSurname(java.lang.String string) -
addFemaleForename
public static void addFemaleForename(java.lang.String string) -
addMaleForename
public static void addMaleForename(java.lang.String string)
-