20 package net.sf.gridarta.model.match;
22 import java.util.ArrayList;
23 import java.util.Collection;
25 import org.jetbrains.annotations.NotNull;
44 private final Collection<GameObjectMatcher>
matchers =
new ArrayList<>();
51 this.matchers.addAll(matchers);
57 if (!gameObjectMatcher.isMatching(gameObject)) {
Interface for classes that match GameObjects.
A GameObjectMatcher that And-combines other.
Base package of all Gridarta classes.
Reflects a game object (object on a map).
boolean isMatching(@NotNull final GameObject<?, ?, ?> gameObject)
Matches an GameObject.
GameObjects are the objects based on Archetypes found on maps.
AndGameObjectMatcher(@NotNull final Collection< GameObjectMatcher > matchers)
Creates an.
final Collection< GameObjectMatcher > matchers
The list of GameObjectMatchers to AND.
static final long serialVersionUID
The serial version UID.