Class ProfessionFactory.Profession
java.lang.Object
zombie.characters.professions.ProfessionFactory.Profession
-
Field Summary
FieldsModifier and TypeFieldDescriptionint -
Constructor Summary
ConstructorsConstructorDescriptionProfession(String _type, String _name, String IconPathname, int _cost, String desc) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddFreeTrait(String trait) voidaddXPBoost(PerkFactory.Perk perk, int level) intgetCost()getLabel()getName()getType()voidsetCost(int _cost) voidsetDescription(String _description) voidsetFreeRecipes(List<String> _freeRecipes) voidsetFreeTraitStack(Stack<String> _FreeTraitStack) voidsetIconPath(String _IconPath) voidvoid
-
Field Details
-
type
-
name
-
cost
public int cost -
description
-
IconPath
-
texture
-
FreeTraitStack
-
XPBoostMap
-
-
Constructor Details
-
Profession
-
-
Method Details
-
getTexture
-
addFreeTrait
-
getFreeTraits
-
getLabel
- Specified by:
getLabelin interfaceIListBoxItem
-
getIconPath
-
getLeftLabel
- Specified by:
getLeftLabelin interfaceIListBoxItem
-
getRightLabel
- Specified by:
getRightLabelin interfaceIListBoxItem
-
getType
- Returns:
- the type
-
setType
- Parameters:
_type- the type to set
-
getName
- Returns:
- the name
-
setName
- Parameters:
_name- the name to set
-
getCost
public int getCost()- Returns:
- the cost
-
setCost
public void setCost(int _cost) - Parameters:
_cost- the cost to set
-
getDescription
- Returns:
- the description
-
setDescription
- Parameters:
_description- the description to set
-
setIconPath
- Parameters:
_IconPath- the IconPath to set
-
getFreeTraitStack
-
addXPBoost
-
getXPBoostMap
-
setFreeTraitStack
-
getFreeRecipes
-
setFreeRecipes
-