Class NotGameObjectMatcher

    • 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: GameObjectMatcher
        Matches a GameObject.
        Specified by:
        isMatching in interface GameObjectMatcher
        Parameters:
        gameObject - the GameObject to match
        Returns:
        true if this matcher matches the given game object, otherwise false