Package zombie.characters.traits
Class TraitFactory.Trait
java.lang.Object
zombie.characters.traits.TraitFactory.Trait
- All Implemented Interfaces:
IListBoxItem
- Enclosing class:
- TraitFactory
-
Field Summary
Modifier and TypeFieldDescriptionint
boolean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addXPBoost
(PerkFactory.Perk perk, int int1) int
getCost()
getLabel()
getType()
boolean
isFree()
boolean
void
setDescription
(String string) void
setFreeRecipes
(List list) void
setRemoveInMP
(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:
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 boolean1)
-