 |
Gridarta Editor
|
Go to the documentation of this file.
20 package net.sf.gridarta.model.select;
22 import java.util.Arrays;
23 import java.util.HashSet;
29 import org.jetbrains.annotations.NotNull;
57 this.attributeNames =
new HashSet<>(Arrays.asList(
attributeNames));
61 public boolean matches(@NotNull
final G gameObject) {
Criteria for game object matchers.
Base package of all Gridarta classes.
A MatchCriteria that matches attribute values of all but a set of attributes.
Reflects a game object (object on a map).
GameObjects are the objects based on Archetypes found on maps.
static final Pattern PATTERN_END_OF_LINE
The pattern to match end of line characters separating lines.
Interface for MapArchObjects.
boolean matches(@NotNull final G gameObject)
AttributeOtherValueMatchCriteria(@NotNull final String attributeValue, @NotNull final String... attributeNames)
Creates a new instance.
Utility class for string manipulation.
final Set< String > attributeNames
The attribute names not to check.
static final Pattern PATTERN_SPACES
The pattern that matches a non-empty sequence of spaces.
final String attributeValue
The attribute value to check.