zombie.characters.traits
Class TraitFactory.Trait

java.lang.Object
  extended by zombie.characters.traits.TraitFactory.Trait
All Implemented Interfaces:
IListBoxItem
Enclosing class:
TraitFactory

public static class TraitFactory.Trait
extends java.lang.Object
implements IListBoxItem


Field Summary
 int cost
           
 java.lang.String description
           
 java.util.ArrayList<java.lang.String> MutuallyExclusive
           
 java.lang.String name
           
 boolean prof
           
 Texture texture
           
 java.lang.String traitID
           
 
Constructor Summary
TraitFactory.Trait(java.lang.String tr, java.lang.String name, int cost, java.lang.String desc, boolean prof)
           
 
Method Summary
 int getCost()
           
 java.lang.String getDescription()
           
 java.lang.String getLabel()
           
 java.lang.String getLeftLabel()
           
 java.util.ArrayList<java.lang.String> getMutuallyExclusiveTraits()
           
 java.lang.String getRightLabel()
           
 Texture getTexture()
           
 java.lang.String getType()
           
 boolean isFree()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

TraitFactory.Trait

public TraitFactory.Trait(java.lang.String tr,
                          java.lang.String name,
                          int cost,
                          java.lang.String desc,
                          boolean prof)
Method Detail

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()