Finished (almost) everything !items

This commit is contained in:
Arcaratus committed 2015-07-30 14:52:39 -04:00
1 parent 8eed901fcb
commit a9507b3b68
145 files changed
+1261 -2156

No files matched your search

@@ -8,9 +8,9 @@ import java.util.Map.Entry;
public class SpellEffectRegistry
{
public static Map<Class<? extends SpellParadigm>, List<ComplexSpellEffect>> effectRegistry = new HashMap();
public static Map<String, ComplexSpellType> typeRegistry = new HashMap();
public static Map<String, ComplexSpellModifier> modifierRegistry = new HashMap();
public static Map<Class<? extends SpellParadigm>, List<ComplexSpellEffect>> effectRegistry = new HashMap<Class<? extends SpellParadigm>, List<ComplexSpellEffect>>();
public static Map<String, ComplexSpellType> typeRegistry = new HashMap<String, ComplexSpellType>();
public static Map<String, ComplexSpellModifier> modifierRegistry = new HashMap<String, ComplexSpellModifier>();
public static void registerSpellEffect(Class<? extends SpellParadigm> paraClass, ComplexSpellEffect effect)
{
@@ -43,7 +43,7 @@ public class SpellEffectRegistry
effectList.add(effect);
}else
{
List<ComplexSpellEffect> effectList = new LinkedList();
List<ComplexSpellEffect> effectList = new LinkedList<ComplexSpellEffect>();
effectList.add(effect);
effectRegistry.put(paraClass, effectList);
}