Package zombie.characters.traits
Class TraitFactory.Trait
java.lang.Object
zombie.characters.traits.TraitFactory.Trait
- All Implemented Interfaces:
IListBoxItem
- Enclosing class:
- TraitFactory
-
Field Summary
FieldsModifier and TypeFieldDescriptionintboolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddXPBoost(PerkFactory.Perk perk, int int1) intgetCost()getLabel()getType()booleanisFree()booleanvoidsetDescription(String string) voidsetFreeRecipes(List list) voidsetRemoveInMP(boolean boolean1)
-
Field Details
-
traitID
-
name
-
cost
public int cost -
description
-
prof
public boolean prof -
texture
-
MutuallyExclusive
-
XPBoostMap
-
-
Constructor Details
-
Trait
-
-
Method Details
-
addXPBoost
-
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 boolean1)
-