 |
Gridarta Editor
|
Go to the documentation of this file.
20 package net.sf.gridarta.model.match;
23 import org.jetbrains.annotations.NotNull;
24 import org.jetbrains.annotations.Nullable;
81 private final String
id;
125 @SuppressWarnings(
"TypeMayBeWeakened")
final GameObjectMatcher gameObjectMatcher
The GameObjectMatcher to wrap.
Base package of all Gridarta classes.
boolean isSystemMatcher()
Returns whether this matcher is a system matcher.
Interface for classes that match GameObjects.
Reflects a game object (object on a map).
boolean isMatchingInventory(@NotNull final GameObject<?, ?, ?> gameObject)
Returns whether this matcher matches any inventory game object of a given game object.
boolean isMatching(@NotNull GameObject<?, ?, ?> gameObject)
Matches a GameObject.
Decorates an arbitrary GameObjectMatcher with a localized name that is suitable for the user interfac...
GameObjects are the objects based on Archetypes found on maps.
NamedGameObjectMatcher(final int editType, @NotNull final String id, @NotNull final String name, final boolean systemMatcher, @Nullable final GameObjectMatcher envGameObjectMatcher, @NotNull final GameObjectMatcher gameObjectMatcher)
Creates a new instance.
String getID()
Gets the ID of this.
final GameObjectMatcher envGameObjectMatcher
The environment GameObjectMatcher.
final String name
The localized name.
final int editType
The edit type of this matcher.
static final long serialVersionUID
The serial version UID.
boolean isMatching(@NotNull final GameObject<?, ?, ?> gameObject)
Matches a GameObject.
final String id
The id of this GameObjectMatcher.
int getEditType()
Returns the edit type associated with this matcher.
String getName()
Gets the name of this.
final boolean systemMatcher
Whether this matcher is a system matcher.