 |
Gridarta Editor
|
Go to the documentation of this file.
20 package net.sf.gridarta.gui.panel.connectionview;
22 import java.io.Serializable;
23 import java.util.Comparator;
31 import org.jetbrains.annotations.NotNull;
39 public class MonsterView<G
extends GameObject<G, A, R>, A extends
MapArchObject<A>, R extends
Archetype<G, A, R>> extends
View<GameObject<G, A, R>, G, A, R> {
97 if (level1 < level2) {
100 if (level1 > level2) {
104 final String name1 = o1.getBestName();
105 final String name2 = o2.getBestName();
106 return String.CASE_INSENSITIVE_ORDER.compare(name1, name2);
Abstract base class for a panel that holds information about connections of the selected key on the s...
The view of the connection view control.
Base package of all Gridarta classes.
Interface for classes that match GameObjects.
Reflects a game object (object on a map).
boolean isMatching(@NotNull GameObject<?, ?, ?> gameObject)
Matches a GameObject.
Graphical User Interface of Gridarta.
void addConnection( @NotNull final K key, @NotNull final GameObject< G, A, R > gameObject)
A Comparator for ordering the values of this view.
GameObjects are the objects based on Archetypes found on maps.
void scanGameObject(@NotNull final GameObject< G, A, R > gameObject)
Adds the given game object as a connection if it is a monster object.
Classes related to matching {GameObjects}, so called { net.sf.gridarta.model.match....
Interface for MapArchObjects.
static final long serialVersionUID
The serial version UID.
void scanGameObjectForConnections(@NotNull final G gameObject)
A CellRenderer for the monster view.
final GameObjectMatcher monsterMatcher
The GameObjectMatcher for matching monster objects.
Provides support for delayed notification of MapModel changes.
String LEVEL
The name of the "level" attribute.
Base classes for rendering maps.
static final long serialVersionUID
The serial version UID.
Iterable< G > recursive()
Return an object that is a recursive representation.
int compare(@NotNull final GameObject< G, A, R > o1, @NotNull final GameObject< G, A, R > o2)
MonsterView(@NotNull final MapViewManager< G, A, R > mapViewManager, @NotNull final DelayedMapModelListenerManager< G, A, R > delayedMapModelListenerManager, @NotNull final GameObjectMatcher monsterMatcher)
Creates a new instance.