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 string, java.lang.String string2, java.lang.String string3, int int1, java.lang.String string4)
-
Method Summary
Modifier and Type Method Description void
addFreeTrait(java.lang.String string)
void
addXPBoost(PerkFactory.Perks perks, int int1)
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 int1)
void
setDescription(java.lang.String string)
void
setFreeRecipes(java.util.List list)
void
setFreeTraitStack(java.util.Stack stack)
void
setIconPath(java.lang.String string)
void
setName(java.lang.String string)
void
setType(java.lang.String string)
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 string, java.lang.String string2, java.lang.String string3, int int1, java.lang.String string4)
-
-
Method Details
-
getTexture
-
addFreeTrait
public void addFreeTrait(java.lang.String string) -
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 string) -
getName
public java.lang.String getName() -
setName
public void setName(java.lang.String string) -
getCost
public int getCost() -
setCost
public void setCost(int int1) -
getDescription
public java.lang.String getDescription() -
setDescription
public void setDescription(java.lang.String string) -
setIconPath
public void setIconPath(java.lang.String string) -
getFreeTraitStack
public java.util.Stack getFreeTraitStack() -
addXPBoost
-
getXPBoostMap
public java.util.HashMap getXPBoostMap() -
setFreeTraitStack
public void setFreeTraitStack(java.util.Stack stack) -
getFreeRecipes
public java.util.List getFreeRecipes() -
setFreeRecipes
public void setFreeRecipes(java.util.List list)
-