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 TypeMethodDescriptionvoid
addFreeTrait
(String trait) void
addXPBoost
(PerkFactory.Perk perk, int level) int
getCost()
getLabel()
getName()
getType()
void
setCost
(int _cost) void
setDescription
(String _description) void
setFreeRecipes
(List<String> _freeRecipes) void
setFreeTraitStack
(Stack<String> _FreeTraitStack) void
setIconPath
(String _IconPath) void
void
-
Field Details
-
type
-
name
-
cost
public int cost -
description
-
IconPath
-
texture
-
FreeTraitStack
-
XPBoostMap
-
-
Constructor Details
-
Profession
-
-
Method Details
-
getTexture
-
addFreeTrait
-
getFreeTraits
-
getLabel
- Specified by:
getLabel
in interfaceIListBoxItem
-
getIconPath
-
getLeftLabel
- Specified by:
getLeftLabel
in interfaceIListBoxItem
-
getRightLabel
- Specified by:
getRightLabel
in interfaceIListBoxItem
-
getType
- Returns:
- the type
-
setType
-
getName
- Returns:
- the name
-
setName
-
getCost
public int getCost()- Returns:
- the cost
-
setCost
public void setCost(int _cost) -
getDescription
- Returns:
- the description
-
setDescription
-
setIconPath
-
getFreeTraitStack
-
addXPBoost
-
getXPBoostMap
-
setFreeTraitStack
-
getFreeRecipes
-
setFreeRecipes
-