Class Magic

java.lang.Object
org.rspeer.game.component.tdi.Magic

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

    • Magic

      public Magic()
  • Method Details

    • 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)
    • getBook

      public static Magic.Book getBook()
    • cast

      public static boolean cast(Spell spell, Interactable target)