20 package net.sf.gridarta.model.select;
25 import org.jetbrains.annotations.NotNull;
56 public boolean matches(@NotNull
final G gameObject) {
57 return gameObject.getAttributeString(attributeName).contains(attributeValue);
final String attributeValue
The attribute value to check.
AttributeValueMatchCriteria(@NotNull final String attributeName, @NotNull final String attributeValue)
Creates a new instance.
Base package of all Gridarta classes.
final String attributeName
The attribute name to check.
Reflects a game object (object on a map).
A MatchCriteria that matches an attribute value.
boolean matches(@NotNull final G gameObject)
GameObjects are the objects based on Archetypes found on maps.
Criteria for game object matchers.
Interface for MapArchObjects.