Package zombie.characters.traits
Class TraitFactory
java.lang.Object
zombie.characters.traits.TraitFactory
public class TraitFactory
extends java.lang.Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TraitFactory.Trait
-
Field Summary
Fields Modifier and Type Field Description static java.util.LinkedHashMap
TraitMap
-
Constructor Summary
Constructors Constructor Description TraitFactory()
-
Method Summary
Modifier and Type Method Description static TraitFactory.Trait
addTrait(java.lang.String type, java.lang.String name, int cost, java.lang.String desc, boolean profession)
static TraitFactory.Trait
addTrait(java.lang.String type, java.lang.String name, int cost, java.lang.String desc, boolean profession, boolean removeInMP)
static TraitFactory.Trait
getTrait(java.lang.String name)
static java.util.ArrayList
getTraits()
static void
init()
static void
Reset()
static void
setMutualExclusive(java.lang.String a, java.lang.String b)
static void
sortList()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
TraitMap
public static java.util.LinkedHashMap TraitMap
-
-
Constructor Details
-
TraitFactory
public TraitFactory()
-
-
Method Details
-
init
public static void init() -
setMutualExclusive
public static void setMutualExclusive(java.lang.String a, java.lang.String b) -
sortList
public static void sortList() -
addTrait
public static TraitFactory.Trait addTrait(java.lang.String type, java.lang.String name, int cost, java.lang.String desc, boolean profession) -
addTrait
public static TraitFactory.Trait addTrait(java.lang.String type, java.lang.String name, int cost, java.lang.String desc, boolean profession, boolean removeInMP) -
getTraits
public static java.util.ArrayList getTraits() -
getTrait
-
Reset
public static void Reset()
-