Package net.sf.gridarta.model.match
Class TypeNrsGameObjectMatcher
- java.lang.Object
-
- net.sf.gridarta.model.match.TypeNrsGameObjectMatcher
-
- All Implemented Interfaces:
java.io.Serializable,GameObjectMatcher
public class TypeNrsGameObjectMatcher extends java.lang.Object implements GameObjectMatcher
AnGameObjectMatchermatching certain archetype types.- See Also:
- Serialized Form
-
-
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 booleanisMatching(@NotNull GameObject<?,?,?> gameObject)Matches aGameObject.@NotNull java.lang.StringtoString()
-
-
-
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
-
toString
@NotNull public @NotNull java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-