Class TraitFactory.Trait

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

public static class TraitFactory.Trait extends Object implements IListBoxItem
  • Field Details

    • traitID

      public String traitID
    • name

      public String name
    • cost

      public int cost
    • description

      public String description
    • prof

      public boolean prof
    • texture

      public Texture texture
    • MutuallyExclusive

      public ArrayList MutuallyExclusive
    • XPBoostMap

      public HashMap XPBoostMap
  • Constructor Details

    • Trait

      public Trait(String string, String string2, int int1, String string3, boolean boolean1, boolean boolean2)
  • Method Details

    • addXPBoost

      public void addXPBoost(PerkFactory.Perk perk, int int1)
    • getFreeRecipes

      public List getFreeRecipes()
    • setFreeRecipes

      public void setFreeRecipes(List list)
    • getType

      public String getType()
    • getTexture

      public Texture getTexture()
    • getLabel

      public String getLabel()
      Specified by:
      getLabel in interface IListBoxItem
    • getLeftLabel

      public String getLeftLabel()
      Specified by:
      getLeftLabel in interface IListBoxItem
    • getRightLabel

      public String getRightLabel()
      Specified by:
      getRightLabel in interface IListBoxItem
    • getCost

      public int getCost()
    • isFree

      public boolean isFree()
    • getDescription

      public String getDescription()
    • setDescription

      public void setDescription(String string)
    • getMutuallyExclusiveTraits

      public ArrayList getMutuallyExclusiveTraits()
    • getXPBoostMap

      public HashMap getXPBoostMap()
    • isRemoveInMP

      public boolean isRemoveInMP()
    • setRemoveInMP

      public void setRemoveInMP(boolean boolean1)