Package org.rspeer.game.component.tdi
Class Magic
- java.lang.Object
-
- org.rspeer.game.component.tdi.Magic
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Magic.Autocast
static class
Magic.Book
static class
Magic.Rune
static class
Magic.RunePouch
-
Constructor Summary
Constructors Constructor Description Magic()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
canCast(Spell spell)
static boolean
cast(Spell spell)
static boolean
cast(Spell spell, Interactable target)
static Magic.Book
getBook()
static Spell
getSelectedSpell()
static int
getSpellTargetFlags()
static boolean
interact(Spell spell, String action)
static boolean
isSpellSelected()
-
-
-
Method Detail
-
isSpellSelected
public static boolean isSpellSelected()
-
getSelectedSpell
public static Spell getSelectedSpell()
-
getSpellTargetFlags
public static int getSpellTargetFlags()
-
canCast
public static boolean canCast(Spell spell)
-
cast
public static boolean cast(Spell spell)
-
getBook
public static Magic.Book getBook()
-
cast
public static boolean cast(Spell spell, Interactable target)
-
-