public class NotGameObjectMatcher extends java.lang.Object implements GameObjectMatcher
GameObjectMatcher
that negates another GameObjectMatcher
.Constructor and Description |
---|
NotGameObjectMatcher(@NotNull GameObjectMatcher gameObjectMatcher)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isMatching(@NotNull GameObject<?,?,?> gameObject)
Matches a
GameObject . |
public NotGameObjectMatcher(@NotNull @NotNull GameObjectMatcher gameObjectMatcher)
gameObjectMatcher
- the matcher to negatepublic boolean isMatching(@NotNull @NotNull GameObject<?,?,?> gameObject)
GameObjectMatcher
GameObject
.isMatching
in interface GameObjectMatcher
gameObject
- the GameObject
to matchtrue
if this matcher matches the given game object,
otherwise false