diff options
Diffstat (limited to 'src/main/java/tlIItools/AffixSet.java')
| -rw-r--r-- | src/main/java/tlIItools/AffixSet.java | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/src/main/java/tlIItools/AffixSet.java b/src/main/java/tlIItools/AffixSet.java new file mode 100644 index 00000000..8f59d7b4 --- /dev/null +++ b/src/main/java/tlIItools/AffixSet.java @@ -0,0 +1,34 @@ +package tlIItools; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +/** + * Container of a set of affixes. + * + * @author Ben Culkin + */ +public class AffixSet { + /** + * All of the affix groups contained in this set. + * + * An affix group is a set of affixs that generally have the same or + * similiar effects, but have different intensities or spawn levels. + */ + public Map<String, List<Affix>> affixGroups; + + /** + * All of the ungrouped affixes contained in this set. + */ + public List<Affix> ungroupedAffixes; + + /** + * Create a new blank affix set. + */ + public AffixSet() { + affixGroups = new HashMap<>(); + + ungroupedAffixes = new ArrayList<>(); + } +} |
