Class TypeNrsGameObjectMatcher

    • Constructor Summary

      Constructors 
      Constructor Description
      TypeNrsGameObjectMatcher​(@org.jetbrains.annotations.NotNull int... types)
      Creates a new instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isMatching​(@NotNull GameObject<?,​?,​?> gameObject)
      Matches a GameObject.
      @NotNull java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • TypeNrsGameObjectMatcher

        public TypeNrsGameObjectMatcher​(@NotNull
                                        @org.jetbrains.annotations.NotNull int... types)
        Creates a new instance.
        Parameters:
        types - the types to match
    • 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
      • toString

        @NotNull
        public @NotNull java.lang.String toString()
        Overrides:
        toString in class java.lang.Object