Package zombie.characters.professions
Class ProfessionFactory.Profession
java.lang.Object
zombie.characters.professions.ProfessionFactory.Profession
- All Implemented Interfaces:
IListBoxItem
- Enclosing class:
- ProfessionFactory
-
Field Summary
Modifier and TypeFieldDescriptionint
-
Constructor Summary
ConstructorDescriptionProfession
(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
- 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
- Returns:
- the FreeTraitStack
-
addXPBoost
-
getXPBoostMap
-
setFreeTraitStack
- Parameters:
FreeTraitStack
- the FreeTraitStack to set
-
getFreeRecipes
-
setFreeRecipes
-