summaryrefslogtreecommitdiff
path: root/src/main/java/tlIItools/AffixSet.java
blob: 8f59d7b4655a5060869d4f05081c08e3c59a24e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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<>();
	}
}