20 package net.sf.gridarta.model.archetypetype;
24 import org.jetbrains.annotations.NotNull;
41 super(archetypeAttributeName, attributeName, description, inputLength);
51 for (
int i = 0; i < numberSpells.size(); i++) {
52 if (numberSpells.getSpell(i).getNumber() == number) {
This Class contains the data of one archetype attribute.
AbstractArchetypeAttributeSpell(@NotNull final String archetypeAttributeName, @NotNull final String attributeName, @NotNull final String description, final int inputLength)
Creates a new instance.
final String archetypeAttributeName
The archetype attribute name.
Abstract base class for ArchetypeAttributes for spells.
Describes a numbered in-game spell.
Base package of all Gridarta classes.
Common base class for spells and spell lists.
final int inputLength
The input length in characters for text input fields.
final String description
The attribute's description.
static int findSpellIndex(@NotNull final Spells< NumberSpell > numberSpells, final int number)
Returns the spell index for a spell number.
final String attributeName
The user interface attribute name.