Package zombie.characters.professions
Class ProfessionFactory.Profession
java.lang.Object
zombie.characters.professions.ProfessionFactory.Profession
- All Implemented Interfaces:
IListBoxItem
- Enclosing class:
- ProfessionFactory
public static class ProfessionFactory.Profession extends java.lang.Object implements IListBoxItem
-
Field Summary
Fields Modifier and Type Field Description int
cost
java.lang.String
description
java.util.Stack
FreeTraitStack
java.lang.String
IconPath
java.lang.String
name
Texture
texture
java.lang.String
type
java.util.HashMap
XPBoostMap
-
Constructor Summary
Constructors Constructor Description Profession(java.lang.String type, java.lang.String name, java.lang.String IconPathname, int cost, java.lang.String desc)
-
Method Summary
Modifier and Type Method Description void
addFreeTrait(java.lang.String trait)
void
addXPBoost(PerkFactory.Perks perk, int level)
int
getCost()
java.lang.String
getDescription()
java.util.List
getFreeRecipes()
java.util.ArrayList
getFreeTraits()
java.util.Stack
getFreeTraitStack()
java.lang.String
getIconPath()
java.lang.String
getLabel()
java.lang.String
getLeftLabel()
java.lang.String
getName()
java.lang.String
getRightLabel()
Texture
getTexture()
java.lang.String
getType()
java.util.HashMap
getXPBoostMap()
void
setCost(int cost)
void
setDescription(java.lang.String description)
void
setFreeRecipes(java.util.List freeRecipes)
void
setFreeTraitStack(java.util.Stack FreeTraitStack)
void
setIconPath(java.lang.String IconPath)
void
setName(java.lang.String name)
void
setType(java.lang.String type)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
type
public java.lang.String type -
name
public java.lang.String name -
cost
public int cost -
description
public java.lang.String description -
IconPath
public java.lang.String IconPath -
texture
-
FreeTraitStack
public java.util.Stack FreeTraitStack -
XPBoostMap
public java.util.HashMap XPBoostMap
-
-
Constructor Details
-
Profession
public Profession(java.lang.String type, java.lang.String name, java.lang.String IconPathname, int cost, java.lang.String desc)
-
-
Method Details
-
getTexture
-
addFreeTrait
public void addFreeTrait(java.lang.String trait) -
getFreeTraits
public java.util.ArrayList getFreeTraits() -
getLabel
public java.lang.String getLabel()- Specified by:
getLabel
in interfaceIListBoxItem
-
getIconPath
public java.lang.String getIconPath() -
getLeftLabel
public java.lang.String getLeftLabel()- Specified by:
getLeftLabel
in interfaceIListBoxItem
-
getRightLabel
public java.lang.String getRightLabel()- Specified by:
getRightLabel
in interfaceIListBoxItem
-
getType
public java.lang.String getType() -
setType
public void setType(java.lang.String type) -
getName
public java.lang.String getName() -
setName
public void setName(java.lang.String name) -
getCost
public int getCost() -
setCost
public void setCost(int cost) -
getDescription
public java.lang.String getDescription() -
setDescription
public void setDescription(java.lang.String description) -
setIconPath
public void setIconPath(java.lang.String IconPath) -
getFreeTraitStack
public java.util.Stack getFreeTraitStack() -
addXPBoost
-
getXPBoostMap
public java.util.HashMap getXPBoostMap() -
setFreeTraitStack
public void setFreeTraitStack(java.util.Stack FreeTraitStack) -
getFreeRecipes
public java.util.List getFreeRecipes() -
setFreeRecipes
public void setFreeRecipes(java.util.List freeRecipes)
-