 |
Gridarta Editor
|
Go to the documentation of this file.
20 package net.sf.gridarta.model.match;
23 import org.jetbrains.annotations.NotNull;
55 return name.matches(gameObject.getArchetype().getArchetypeName());
String name
The archetype name to match.
An GameObjectMatcher that simply matches a archetype name.
Base package of all Gridarta classes.
String getName()
Returns the archetype name matched by this matcher.
Interface for classes that match GameObjects.
static final long serialVersionUID
The serial version UID.
Reflects a game object (object on a map).
GameObjects are the objects based on Archetypes found on maps.
boolean isMatching(@NotNull final GameObject<?, ?, ?> gameObject)
Matches a GameObject.
MutableNameGameObjectMatcher(@NotNull final String name)
Creates a new instance.
void setName(@NotNull final String name)
Sets the archetype name to match.