zombie.characters.traits
Class TraitFactory.Trait
java.lang.Object
zombie.characters.traits.TraitFactory.Trait
- All Implemented Interfaces:
- IListBoxItem
- Enclosing class:
- TraitFactory
public static class TraitFactory.Trait
- extends java.lang.Object
- implements IListBoxItem
Constructor Summary |
TraitFactory.Trait(java.lang.String tr,
java.lang.String name,
int cost,
java.lang.String desc,
boolean prof)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
traitID
public java.lang.String traitID
name
public java.lang.String name
cost
public int cost
description
public java.lang.String description
prof
public boolean prof
texture
public Texture texture
MutuallyExclusive
public java.util.ArrayList<java.lang.String> MutuallyExclusive
TraitFactory.Trait
public TraitFactory.Trait(java.lang.String tr,
java.lang.String name,
int cost,
java.lang.String desc,
boolean prof)
getType
public java.lang.String getType()
getTexture
public Texture getTexture()
getLabel
public java.lang.String getLabel()
- Specified by:
getLabel
in interface IListBoxItem
getLeftLabel
public java.lang.String getLeftLabel()
- Specified by:
getLeftLabel
in interface IListBoxItem
getRightLabel
public java.lang.String getRightLabel()
- Specified by:
getRightLabel
in interface IListBoxItem
getCost
public int getCost()
isFree
public boolean isFree()
getDescription
public java.lang.String getDescription()
getMutuallyExclusiveTraits
public java.util.ArrayList<java.lang.String> getMutuallyExclusiveTraits()