Modifier and Type | Field and Description |
---|---|
private Spell |
GUIItemSpell.spell
The currently selected spell or
null if none is selected. |
Modifier and Type | Method and Description |
---|---|
private java.lang.String |
GUISpellList.getBindings(Spell spell,
java.lang.String prefix,
java.lang.String legend)
Return a text with the keybindings for the spell.
|
Modifier and Type | Field and Description |
---|---|
private java.lang.Iterable<Spell> |
DefaultScriptProcess.spellsManager
The
SpellsManager instance to use. |
private java.lang.Iterable<Spell> |
ScriptManager.spellsManager
The spells manager instance to use.
|
Constructor and Description |
---|
DefaultScriptProcess(int scriptId,
java.lang.String filename,
CommandQueue commandQueue,
CrossfireServerConnection crossfireServerConnection,
Stats stats,
FloorView floorView,
ItemSet itemSet,
java.lang.Iterable<Spell> spellsManager,
MapUpdaterState mapUpdaterState,
SkillSet skillSet)
Creates a new instance.
|
ScriptManager(CommandQueue commandQueue,
CrossfireServerConnection crossfireServerConnection,
Stats stats,
FloorView floorView,
ItemSet itemSet,
java.lang.Iterable<Spell> spellsManager,
MapUpdaterState mapUpdaterState,
SkillSet skillSet)
Creates a new instance.
|
Modifier and Type | Field and Description |
---|---|
private Spell |
ShortcutSpell.spell
The spell to cast.
|
Modifier and Type | Method and Description |
---|---|
Spell |
ShortcutSpell.getSpell()
Returns the spell to cast.
|
Modifier and Type | Method and Description |
---|---|
void |
Shortcuts.setSpellShortcut(int index,
Spell spell,
boolean cast)
Sets a
Shortcut to a spell. |
Constructor and Description |
---|
ShortcutSpell(CommandQueue commandQueue,
Spell spell)
Creates a new instance.
|
Modifier and Type | Field and Description |
---|---|
private Spell |
CurrentSpellManager.currentSpell
The currently selected spell, or
null . |
Modifier and Type | Field and Description |
---|---|
private java.util.List<Spell> |
SpellsManager.filteredSpells
Spells currently exposed, based on the filter.
|
private java.util.Comparator<Spell> |
SpellsManager.spellNameComparator
A
Comparator to compare Spell instances by spell path and
name. |
private java.util.List<Spell> |
SpellsManager.spells
All known spells.
|
private java.util.Map<java.lang.String,Spell> |
SpellsManager.unknownSpells
All unknown spells that have been referenced before.
|
Modifier and Type | Method and Description |
---|---|
Spell |
CurrentSpellManager.getCurrentSpell()
Returns the currently selected spell object.
|
Spell |
SpellsManager.getSpell(int index)
Returns a
Spell instance by index. |
Spell |
SpellsManager.getSpell(java.lang.String spellName)
Returns a
Spell instance by spell name. |
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<Spell> |
SpellsManager.iterator() |
Modifier and Type | Method and Description |
---|---|
int |
SpellComparator.compare(Spell o1,
Spell o2) |
void |
CurrentSpellManager.setCurrentSpell(Spell spell)
Sets the currently selected spell.
|
void |
CurrentSpellManagerListener.spellChanged(Spell spell)
The selected spell has changed.
|