Initial 1.11.2 update

This commit is contained in:
Electroblob
2018-02-07 21:15:50 +00:00
parent 67f6be0671
commit 3df5597dcc
368 changed files with 17234 additions and 15082 deletions
@@ -4,17 +4,23 @@ import java.util.List;
import electroblob.wizardry.spell.Spell;
/** [NYI] Interface for entities that can select between spells based on their current circumstances, to be used in
* conjunction with {@link EntityAISelectSpell}. */
/**
* [NYI] Interface for entities that can select between spells based on their current circumstances, to be used in
* conjunction with {@link EntityAISelectSpell}.
*/
public interface IIntelligentSpellCaster extends ISpellCaster {
/** Called from {@link EntityAISelectSpell} to set the spells that the entity can use in its current situation.
/**
* Called from {@link EntityAISelectSpell} to set the spells that the entity can use in its current situation.
* Implementors should assign the given list to some internal field and retrieve it when {@link #getSpells()} is
* called. */
* called.
*/
public void setCurrentSpells(List<Spell> spells);
/** Returns a list of spells that this entity 'knows'. The entity's current spell will be selected from this list
/**
* Returns a list of spells that this entity 'knows'. The entity's current spell will be selected from this list
* based on the current situation: whether it is attacking, its health, etc. Most likely, you will want to return a
* constant list, but it may change for some reason - perhaps if the entity 'learns' a new spell. */
* constant list, but it may change for some reason - perhaps if the entity 'learns' a new spell.
*/
public List<Spell> getKnownSpells();
}