 |
Gridarta Editor
|
Go to the documentation of this file.
20 package net.sf.gridarta.model.match;
22 import java.util.ArrayList;
23 import java.util.Collection;
25 import org.jetbrains.annotations.NotNull;
68 if (gameObjectMatcher.isMatching(gameObject)) {
MutableOrGameObjectMatcher(final boolean defaultState)
Creates a new instance.
final Collection< GameObjectMatcher > gameObjectMatchers
The GameObjectMatchers to OR.
Base package of all Gridarta classes.
boolean containsArchObjectMatcher(@NotNull final GameObjectMatcher gameObjectMatcher)
Checks whether a certain GameObjectMatcher is contained in this matcher.
boolean isMatching(@NotNull final GameObject<?, ?, ?> gameObject)
Matches a GameObject.
Interface for classes that match GameObjects.
void removeAll()
Removes all GameObjectMatchers.
Reflects a game object (object on a map).
A GameObjectMatcher that delegates to other.
GameObjects are the objects based on Archetypes found on maps.
void removeArchObjectMatcher(@NotNull final GameObjectMatcher gameObjectMatcher)
Removes a GameObjectMatcher.
void addArchObjectMatcher(@NotNull final GameObjectMatcher gameObjectMatcher)
Adds a GameObjectMatcher.
final boolean defaultState
The default matching state when gameObjectMatchers is empty.
static final long serialVersionUID
The serial version UID.