Class TraitFactory.Trait
java.lang.Object
zombie.characters.traits.TraitFactory.Trait
-
Field Summary
FieldsModifier and TypeFieldDescriptionintboolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddFreeTrait(String string) voidaddXPBoost(PerkFactory.Perk perk, int level) intgetCost()getLabel()getType()booleanisFree()booleanbooleanvoidsetDescription(String desc) voidsetFreeRecipes(List<String> _freeRecipes) voidsetRemoveInMP(boolean _removeInMP)
-
Field Details
-
traitID
-
name
-
cost
public int cost -
description
-
prof
public boolean prof -
texture
-
FreeTraitStack
-
MutuallyExclusive
-
XPBoostMap
-
-
Constructor Details
-
Trait
-
-
Method Details
-
addXPBoost
-
addFreeTrait
-
getFreeTraits
-
getFreeRecipes
-
setFreeRecipes
-
getType
-
getTexture
-
getLabel
- Specified by:
getLabelin interfaceIListBoxItem
-
getLeftLabel
- Specified by:
getLeftLabelin interfaceIListBoxItem
-
getRightLabel
- Specified by:
getRightLabelin interfaceIListBoxItem
-
getCost
public int getCost() -
isFree
public boolean isFree() -
getDescription
-
setDescription
-
getMutuallyExclusiveTraits
-
getXPBoostMap
-
isRemoveInMP
public boolean isRemoveInMP() -
setRemoveInMP
public void setRemoveInMP(boolean _removeInMP) -
isMutuallyExclusive
-