Package net.sf.gridarta.model.match
Class NotGameObjectMatcher
- java.lang.Object
-
- net.sf.gridarta.model.match.NotGameObjectMatcher
-
- All Implemented Interfaces:
java.io.Serializable,GameObjectMatcher
public class NotGameObjectMatcher extends java.lang.Object implements GameObjectMatcher
AGameObjectMatcherthat negates anotherGameObjectMatcher.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NotGameObjectMatcher(@NotNull GameObjectMatcher gameObjectMatcher)Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisMatching(@NotNull GameObject<?,?,?> gameObject)Matches aGameObject.
-
-
-
Constructor Detail
-
NotGameObjectMatcher
public NotGameObjectMatcher(@NotNull @NotNull GameObjectMatcher gameObjectMatcher)Creates a new instance.- Parameters:
gameObjectMatcher- the matcher to negate
-
-
Method Detail
-
isMatching
public boolean isMatching(@NotNull @NotNull GameObject<?,?,?> gameObject)Description copied from interface:GameObjectMatcherMatches aGameObject.- Specified by:
isMatchingin interfaceGameObjectMatcher- Parameters:
gameObject- theGameObjectto match- Returns:
trueif this matcher matches the given game object, otherwisefalse
-
-