Interface ISpellCasterEntity
public interface ISpellCasterEntity
Marks a class as a spell casting entity. Has methods to determine if a spell can be cast, if a spell is cast, and to set whether a spell is currently being cast.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanvoidsetIsCastingSpell(boolean isCastingSpell) Sets whether this entity is currently casting a spell or not.
-
Method Details
-
canCastSpell
boolean canCastSpell()- Returns:
- Whether this entity can currently cast a spell or not.
-
isCastingSpell
boolean isCastingSpell()- Returns:
- Whether this entity is currently casting a spell or not.
-
setIsCastingSpell
void setIsCastingSpell(boolean isCastingSpell) Sets whether this entity is currently casting a spell or not.- Parameters:
isCastingSpell- Whether this entity is currently casting a spell or not.
-