Class Magic


  • public class Magic
    extends Object
    Provides operations relating to the magic spell book
    See Also:
    Spell
    • Constructor Detail

      • Magic

        public Magic()
    • Method Detail

      • isSpellSelected

        public static boolean isSpellSelected()
      • getSelectedSpell

        public static Spell getSelectedSpell()
      • getSpellTargetFlags

        public static int getSpellTargetFlags()
      • canCast

        public static boolean canCast​(Spell spell)
      • interact

        public static boolean interact​(Spell spell,
                                       String action)
      • cast

        public static boolean cast​(Spell spell)