20 package net.sf.gridarta.model.archetypetype;
22 import org.jetbrains.annotations.NotNull;
23 import org.jetbrains.annotations.Nullable;
52 public ArchetypeAttribute newArchetypeAttributeBoolSpec(@NotNull
final String archetypeAttributeName, @NotNull
final String attributeName, @NotNull
final String description,
final int inputLength, @NotNull
final String trueValue, @NotNull
final String falseValue) {
76 public ArchetypeAttribute newArchetypeAttributeInt(@NotNull
final String archetypeAttributeName, @NotNull
final String attributeName, @NotNull
final String description,
final int inputLength,
final int minValue,
final int maxValue,
final int minCheckValue,
final int maxCheckValue) {
77 return new ArchetypeAttributeInt(archetypeAttributeName, attributeName, description, inputLength, minValue, maxValue, minCheckValue, maxCheckValue);
94 public ArchetypeAttribute newArchetypeAttributeList(@NotNull
final String archetypeAttributeName, @NotNull
final String attributeName, @NotNull
final String description,
final int inputLength, @NotNull
final String listName) {
95 return new ArchetypeAttributeList(archetypeAttributeName, attributeName, description, inputLength, listName);
100 public ArchetypeAttribute newArchetypeAttributeList2(@NotNull
final String archetypeAttributeName, @NotNull
final String attributeName, @NotNull
final String description,
final int inputLength, @NotNull
final String listName1, @NotNull
final String listName2) {
101 return new ArchetypeAttributeList2(archetypeAttributeName, attributeName, description, inputLength, listName1, listName2);
136 public ArchetypeAttribute newArchetypeAttributeText(@NotNull
final String archetypeAttributeName, @NotNull
final String endingOld, @NotNull
final String attributeName, @NotNull
final String description,
final int inputLength, @Nullable
final String fileExtension) {
137 return new ArchetypeAttributeText(archetypeAttributeName, endingOld, attributeName, description, inputLength, fileExtension);
An ArchetypeAttribute for selecting long integer values.
ArchetypeAttribute newArchetypeAttributeInvSpellOptional(@NotNull final String archetypeAttributeName, @NotNull final String attributeName, @NotNull final String description, final int inputLength)
Creates a new "inv spell optional" archetype attribute.
ArchetypeAttribute newArchetypeAttributeBool(@NotNull final String archetypeAttributeName, @NotNull final String attributeName, @NotNull final String description, final int inputLength)
Creates a new "bool" archetype attribute.
ArchetypeAttribute newArchetypeAttributeInvSpell(@NotNull final String archetypeAttributeName, @NotNull final String attributeName, @NotNull final String description, final int inputLength)
Creates a new "inv spell" archetype attribute.
Interface for classes implementing ArchetypeAttribute factories.
An ArchetypeAttribute for selecting face names.
This Class contains the data of one archetype attribute.
An ArchetypeAttribute for selecting an optional spell encoded as an integer attribute.
An ArchetypeAttribute for selecting animation names.
ArchetypeAttribute newArchetypeAttributeFloat(@NotNull final String archetypeAttributeName, @NotNull final String attributeName, @NotNull final String description, final int inputLength)
Creates a new "float" archetype attribute.
ArchetypeAttribute newArchetypeAttributeBitmask(@NotNull final String archetypeAttributeName, @NotNull final String attributeName, @NotNull final String description, final int inputLength, @NotNull final String bitmaskName)
Creates a new "bitmask" archetype attribute.
An ArchetypeAttribute displaying a fixed string.
An ArchetypeAttribute for selecting boolean values having specific "true" and "false" values...
An ArchetypeAttribute for selecting script files.
ArchetypeAttribute newArchetypeAttributeAnimname(@NotNull final String archetypeAttributeName, @NotNull final String attributeName, @NotNull final String description, final int inputLength)
Creates a new "animname" archetype attribute.
ArchetypeAttribute newArchetypeAttributeList(@NotNull final String archetypeAttributeName, @NotNull final String attributeName, @NotNull final String description, final int inputLength, @NotNull final String listName)
Creates a new "list" archetype attribute.
ArchetypeAttribute newArchetypeAttributeZSpell(@NotNull final String archetypeAttributeName, @NotNull final String attributeName, @NotNull final String description, final int inputLength)
Creates a new "z-spell" archetype attribute.
An ArchetypeAttribute for selecting map path names.
An ArchetypeAttribute for selecting string values.
ArchetypeAttribute newArchetypeAttributeFixed(@NotNull final String archetypeAttributeName, @NotNull final String attributeName, @NotNull final String description, final int inputLength)
Creates a new "fixed" archetype attribute.
ArchetypeAttribute newArchetypeAttributeLong(@NotNull final String archetypeAttributeName, @NotNull final String attributeName, @NotNull final String description, final int inputLength)
Creates a new "long" archetype attribute.
ArchetypeAttribute newArchetypeAttributeInt(@NotNull final String archetypeAttributeName, @NotNull final String attributeName, @NotNull final String description, final int inputLength, final int minValue, final int maxValue, final int minCheckValue, final int maxCheckValue)
Creates a new "int" archetype attribute.
ArchetypeAttribute newArchetypeAttributeString(@NotNull final String archetypeAttributeName, @NotNull final String attributeName, @NotNull final String description, final int inputLength)
Creates a new "string" archetype attribute.
ArchetypeAttribute newArchetypeAttributeSpell(@NotNull final String archetypeAttributeName, @NotNull final String attributeName, @NotNull final String description, final int inputLength)
Creates a new "spell" archetype attribute.
An ArchetypeAttribute for selecting bitmask values.
Default implementation of ArchetypeAttributeFactory.
An ArchetypeAttribute for selecting spells encoded as in integer attribute.
An ArchetypeAttribute for selecting integer values.
An ArchetypeAttribute for selecting a value from two lists.
An ArchetypeAttribute for selecting boolean values.
ArchetypeAttribute newArchetypeAttributeFacename(@NotNull final String archetypeAttributeName, @NotNull final String attributeName, @NotNull final String description, final int inputLength)
Creates a new "face name" archetype attribute.
ArchetypeAttribute newArchetypeAttributeScriptFile(@NotNull final String archetypeAttributeName, @NotNull final String attributeName, @NotNull final String description, final int inputLength)
Creates a new "script file" archetype attribute.
ArchetypeAttribute newArchetypeAttributeText(@NotNull final String archetypeAttributeName, @NotNull final String endingOld, @NotNull final String attributeName, @NotNull final String description, final int inputLength, @Nullable final String fileExtension)
Creates a new "text" archetype attribute.
An ArchetypeAttribute for selecting a value from a list.
An ArchetypeAttribute for selecting floating point values.
An ArchetypeAttribute for selecting text fields.
An ArchetypeAttribute for selecting a spell encoded as an inventory game object.
An ArchetypeAttribute representing a treasurelist.
ArchetypeAttribute newArchetypeAttributeList2(@NotNull final String archetypeAttributeName, @NotNull final String attributeName, @NotNull final String description, final int inputLength, @NotNull final String listName1, @NotNull final String listName2)
Creates a new "list2" archetype attribute.
ArchetypeAttribute newArchetypeAttributeMapPath(@NotNull final String archetypeAttributeName, @NotNull final String attributeName, @NotNull final String description, final int inputLength)
Creates a new "map path" archetype attribute.
ArchetypeAttribute newArchetypeAttributeBoolSpec(@NotNull final String archetypeAttributeName, @NotNull final String attributeName, @NotNull final String description, final int inputLength, @NotNull final String trueValue, @NotNull final String falseValue)
Creates a new "bool spec" archetype attribute.
ArchetypeAttribute newArchetypeAttributeTreasure(@NotNull final String archetypeAttributeName, @NotNull final String attributeName, @NotNull final String description, final int inputLength)
Creates a new "treasure" archetype attribute.