public class PrerequisiteSpell extends Object
| Constructor and Description |
|---|
PrerequisiteSpell(SpellKey spellKey,
long progressLevel) |
PrerequisiteSpell(String spellKey,
long progressLevel) |
| Modifier and Type | Method and Description |
|---|---|
static Collection<PrerequisiteSpell> |
getMissingRequirements(CasterProperties caster,
SpellTemplate spell) |
long |
getProgressLevel() |
SpellKey |
getSpellKey() |
static boolean |
hasPrerequisites(CasterProperties caster,
SpellTemplate spell) |
static boolean |
isSpellSatisfyingPrerequisite(Spell spell,
PrerequisiteSpell prerequisiteSpell) |
String |
toString() |
public PrerequisiteSpell(String spellKey, long progressLevel)
public PrerequisiteSpell(SpellKey spellKey, long progressLevel)
public SpellKey getSpellKey()
public long getProgressLevel()
public static Collection<PrerequisiteSpell> getMissingRequirements(CasterProperties caster, SpellTemplate spell)
public static boolean hasPrerequisites(CasterProperties caster, SpellTemplate spell)
public static boolean isSpellSatisfyingPrerequisite(Spell spell, PrerequisiteSpell prerequisiteSpell)
Copyright © 2021 elMakers. All rights reserved.