Gridarta Editor
ArchetypeAttributeVisitor.java
Go to the documentation of this file.
1 /*
2  * Gridarta MMORPG map editor for Crossfire, Daimonin and similar games.
3  * Copyright (C) 2000-2023 The Gridarta Developers.
4  *
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation; either version 2 of the License, or
8  * (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License along
16  * with this program; if not, write to the Free Software Foundation, Inc.,
17  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18  */
19 
20 package net.sf.gridarta.model.archetypetype;
21 
22 import org.jetbrains.annotations.NotNull;
23 
28 public interface ArchetypeAttributeVisitor {
29 
34  void visit(@NotNull ArchetypeAttributeAnimationName archetypeAttribute);
35 
40  void visit(@NotNull ArchetypeAttributeBitmask archetypeAttribute);
41 
46  void visit(@NotNull ArchetypeAttributeBool archetypeAttribute);
47 
52  void visit(@NotNull ArchetypeAttributeBoolSpec archetypeAttribute);
53 
58  void visit(@NotNull ArchetypeAttributeFaceName archetypeAttribute);
59 
64  void visit(@NotNull ArchetypeAttributeFixed archetypeAttribute);
65 
70  void visit(@NotNull ArchetypeAttributeFloat archetypeAttribute);
71 
76  void visit(@NotNull ArchetypeAttributeInt archetypeAttribute);
77 
82  void visit(@NotNull ArchetypeAttributeInvSpell archetypeAttribute);
83 
88  void visit(@NotNull ArchetypeAttributeList archetypeAttribute);
89 
94  void visit(@NotNull ArchetypeAttributeList2 archetypeAttribute);
95 
100  void visit(@NotNull ArchetypeAttributeLong archetypeAttribute);
101 
106  void visit(@NotNull ArchetypeAttributeMapPath archetypeAttribute);
107 
112  void visit(@NotNull ArchetypeAttributeScriptFile archetypeAttribute);
113 
118  void visit(@NotNull ArchetypeAttributeSpell archetypeAttribute);
119 
124  void visit(@NotNull ArchetypeAttributeString archetypeAttribute);
125 
130  void visit(@NotNull ArchetypeAttributeText archetypeAttribute);
131 
136  void visit(@NotNull ArchetypeAttributeTreasure archetypeAttribute);
137 
142  void visit(@NotNull ArchetypeAttributeZSpell archetypeAttribute);
143 
144 }
net.sf.gridarta.model.archetypetype.ArchetypeAttributeAnimationName
An ArchetypeAttribute for selecting animation names.
Definition: ArchetypeAttributeAnimationName.java:29
net.sf.gridarta.model.archetypetype.ArchetypeAttributeVisitor
Interface for visitors of ArchetypeAttributes.
Definition: ArchetypeAttributeVisitor.java:28
net.sf.gridarta.model.archetypetype.ArchetypeAttributeFloat
An ArchetypeAttribute for selecting floating point values.
Definition: ArchetypeAttributeFloat.java:29
net.sf.gridarta.model.archetypetype.ArchetypeAttributeLong
An ArchetypeAttribute for selecting long integer values.
Definition: ArchetypeAttributeLong.java:29
net.sf.gridarta.model.archetypetype.ArchetypeAttributeBool
An ArchetypeAttribute for selecting boolean values.
Definition: ArchetypeAttributeBool.java:29
net.sf.gridarta.model.archetypetype.ArchetypeAttributeList
An ArchetypeAttribute for selecting a value from a list.
Definition: ArchetypeAttributeList.java:29
net.sf.gridarta.model.archetypetype.ArchetypeAttributeBoolSpec
An ArchetypeAttribute for selecting boolean values having specific "true" and "false" values.
Definition: ArchetypeAttributeBoolSpec.java:30
net.sf.gridarta.model.archetypetype.ArchetypeAttributeMapPath
An ArchetypeAttribute for selecting map path names.
Definition: ArchetypeAttributeMapPath.java:29
net.sf.gridarta.model.archetypetype.ArchetypeAttributeInvSpell
An ArchetypeAttribute for selecting a spell encoded as an inventory game object.
Definition: ArchetypeAttributeInvSpell.java:30
net.sf.gridarta.model.archetypetype.ArchetypeAttributeTreasure
An ArchetypeAttribute representing a treasurelist.
Definition: ArchetypeAttributeTreasure.java:29
net.sf.gridarta.model.archetypetype.ArchetypeAttributeString
An ArchetypeAttribute for selecting string values.
Definition: ArchetypeAttributeString.java:29
net.sf.gridarta.model.archetypetype.ArchetypeAttributeInt
An ArchetypeAttribute for selecting integer values.
Definition: ArchetypeAttributeInt.java:29
net.sf.gridarta.model.archetypetype.ArchetypeAttributeList2
An ArchetypeAttribute for selecting a value from two lists.
Definition: ArchetypeAttributeList2.java:28
net.sf.gridarta.model.archetypetype.ArchetypeAttributeFixed
An ArchetypeAttribute displaying a fixed string.
Definition: ArchetypeAttributeFixed.java:29
net.sf.gridarta.model.archetypetype.ArchetypeAttributeScriptFile
An ArchetypeAttribute for selecting script files.
Definition: ArchetypeAttributeScriptFile.java:29
net.sf.gridarta.model.archetypetype.ArchetypeAttributeSpell
An ArchetypeAttribute for selecting spells encoded as in integer attribute.
Definition: ArchetypeAttributeSpell.java:30
net.sf.gridarta.model.archetypetype.ArchetypeAttributeBitmask
An ArchetypeAttribute for selecting bitmask values.
Definition: ArchetypeAttributeBitmask.java:29
net.sf.gridarta.model.archetypetype.ArchetypeAttributeText
An ArchetypeAttribute for selecting text fields.
Definition: ArchetypeAttributeText.java:30
net.sf.gridarta.model.archetypetype.ArchetypeAttributeVisitor.visit
void visit(@NotNull ArchetypeAttributeAnimationName archetypeAttribute)
Visitor callback function.
net.sf.gridarta.model.archetypetype.ArchetypeAttributeZSpell
An ArchetypeAttribute for selecting an optional spell encoded as an integer attribute.
Definition: ArchetypeAttributeZSpell.java:30
net.sf.gridarta.model.archetypetype.ArchetypeAttributeFaceName
An ArchetypeAttribute for selecting face names.
Definition: ArchetypeAttributeFaceName.java:29