public class AttributeOtherValueMatchCriteria<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>> extends java.lang.Object implements MatchCriteria<G,A,R>
MatchCriteria that matches attribute values of all but a set of
attributes.| Constructor and Description |
|---|
AttributeOtherValueMatchCriteria(@NotNull java.lang.String attributeValue,
java.lang.String... attributeNames)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
matches(G gameObject)
Whether a
GameObject matches this criteria. |
public AttributeOtherValueMatchCriteria(@NotNull
@NotNull java.lang.String attributeValue,
@NotNull
java.lang.String... attributeNames)
attributeValue - the attribute value to checkattributeNames - the attribute names not to checkpublic boolean matches(@NotNull
G gameObject)
MatchCriteriaGameObject matches this criteria.matches in interface MatchCriteria<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>>gameObject - the game object to check