20 package net.sf.gridarta.model.match;
23 import org.jetbrains.annotations.NotNull;
68 this.value = Integer.parseInt(value);
69 }
catch (
final NumberFormatException ex) {
77 final int actual = gameObject.getAttributeInt(name, useDefArch);
Thrown when a parsing error occurs.
static final long serialVersionUID
The serial version UID.
IntAttributeGameObjectMatcher(@NotNull final String name, @NotNull final Operation operation, @NotNull final String value, final boolean useDefArch)
Creates an.
int compareValue(@NotNull final GameObject<?, ?, ?> gameObject)
Base package of all Gridarta classes.
Reflects a game object (object on a map).
An GameObjectMatcher that matches an attribute value.
GameObjects are the objects based on Archetypes found on maps.
final boolean useDefArch
Whether to query the archetype as well.
final String name
The attribute name to match.
final int value
The attribute value to match.
A AttributeGameObjectMatcher that compares attributes values using "int" type.
final Operation operation
The operator to use.