Class TraitFactory.Trait
java.lang.Object
zombie.characters.traits.TraitFactory.Trait
-
Field Summary
FieldsModifier and TypeFieldDescriptionint
boolean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addFreeTrait
(String string) void
addXPBoost
(PerkFactory.Perk perk, int level) int
getCost()
getLabel()
getType()
boolean
isFree()
boolean
void
setDescription
(String desc) void
setFreeRecipes
(List<String> _freeRecipes) void
setRemoveInMP
(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:
getLabel
in interfaceIListBoxItem
-
getLeftLabel
- Specified by:
getLeftLabel
in interfaceIListBoxItem
-
getRightLabel
- Specified by:
getRightLabel
in interfaceIListBoxItem
-
getCost
public int getCost() -
isFree
public boolean isFree() -
getDescription
-
setDescription
-
getMutuallyExclusiveTraits
-
getXPBoostMap
-
isRemoveInMP
public boolean isRemoveInMP() -
setRemoveInMP
public void setRemoveInMP(boolean _removeInMP)
-