Class TraitCollection

java.lang.Object
zombie.characters.traits.TraitCollection
Direct Known Subclasses:
IsoGameCharacter.CharacterTraits

public class TraitCollection
extends java.lang.Object
  • Nested Class Summary

    Nested Classes
    Modifier and Type Class Description
    class  TraitCollection.TraitSlot  
  • Constructor Summary

    Constructors
    Constructor Description
    TraitCollection()  
  • Method Summary

    Modifier and Type Method Description
    void add​(java.lang.String string)  
    void addAll​(java.util.Collection collection)  
    void clear()  
    boolean contains​(java.lang.Object object)  
    boolean contains​(java.lang.String string)  
    java.lang.String get​(int int1)  
    TraitCollection.TraitSlot getTraitSlot​(java.lang.String string)  
    boolean isEmpty()  
    boolean remove​(java.lang.Object object)  
    boolean remove​(java.lang.String string)  
    void removeAll​(java.util.Collection collection)  
    void set​(java.lang.String string, boolean boolean1)  
    int size()  
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • TraitCollection

      public TraitCollection()
  • Method Details

    • remove

      public boolean remove​(java.lang.Object object)
    • remove

      public boolean remove​(java.lang.String string)
    • addAll

      public void addAll​(java.util.Collection collection)
    • removeAll

      public void removeAll​(java.util.Collection collection)
    • clear

      public void clear()
    • size

      public int size()
    • isEmpty

      public boolean isEmpty()
    • contains

      public boolean contains​(java.lang.Object object)
    • contains

      public boolean contains​(java.lang.String string)
    • add

      public void add​(java.lang.String string)
    • get

      public java.lang.String get​(int int1)
    • set

      public void set​(java.lang.String string, boolean boolean1)
    • getTraitSlot

      public TraitCollection.TraitSlot getTraitSlot​(java.lang.String string)
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object