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
Constructor Summary |
ProfessionFactory.Profession(java.lang.String type,
java.lang.String name,
java.lang.String IconPathname,
int cost,
java.lang.String desc)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
public Texture texture
FreeTraitStack
public java.util.Stack<java.lang.String> FreeTraitStack
ProfessionFactory.Profession
public ProfessionFactory.Profession(java.lang.String type,
java.lang.String name,
java.lang.String IconPathname,
int cost,
java.lang.String desc)
getTexture
public Texture getTexture()
addFreeTrait
public void addFreeTrait(java.lang.String trait)
getFreeTraits
public java.util.ArrayList<java.lang.String> getFreeTraits()
getLabel
public java.lang.String getLabel()
- Specified by:
getLabel
in interface IListBoxItem
getIconPath
public java.lang.String getIconPath()
getLeftLabel
public java.lang.String getLeftLabel()
- Specified by:
getLeftLabel
in interface IListBoxItem
getRightLabel
public java.lang.String getRightLabel()
- Specified by:
getRightLabel
in interface IListBoxItem
getType
public java.lang.String getType()
- Returns:
- the type
setType
public void setType(java.lang.String type)
- Parameters:
type
- the type to set
getName
public java.lang.String getName()
- Returns:
- the name
setName
public void setName(java.lang.String name)
- 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
public java.lang.String getDescription()
- Returns:
- the description
setDescription
public void setDescription(java.lang.String description)
- Parameters:
description
- the description to set
setIconPath
public void setIconPath(java.lang.String IconPath)
- Parameters:
IconPath
- the IconPath to set
getFreeTraitStack
public java.util.Stack<java.lang.String> getFreeTraitStack()
- Returns:
- the FreeTraitStack
setFreeTraitStack
public void setFreeTraitStack(java.util.Stack<java.lang.String> FreeTraitStack)
- Parameters:
FreeTraitStack
- the FreeTraitStack to set