net.sf.gridarta.model.mapmodel
private static class FilterGameObjectIteratorTest.AcceptMatcher extends Object implements GameObjectMatcher
GameObjectMatcher
that accepts a set of game objects.Modifier and Type | Field and Description |
---|---|
private Collection<GameObject<?,?,?>> |
gameObjects
The accepted game objects.
|
private static long |
serialVersionUID
The serial version UID.
|
Modifier | Constructor and Description |
---|---|
private |
FilterGameObjectIteratorTest.AcceptMatcher(GameObject<?,?,?>... gameObjects)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isMatching(GameObject<?,?,?> gameObject)
Matches an
GameObject . |
private static final long serialVersionUID
@NotNull private final Collection<GameObject<?,?,?>> gameObjects
private FilterGameObjectIteratorTest.AcceptMatcher(@NotNull GameObject<?,?,?>... gameObjects)
gameObjects
- the game objects to acceptpublic boolean isMatching(@NotNull GameObject<?,?,?> gameObject)
GameObjectMatcher
GameObject
.isMatching
in interface GameObjectMatcher
gameObject
- the GameObject
to matchtrue
if this matcher matches the given game object,
otherwise false
Feedback: webmaster
© 2003-2010 The Gridarta Developers. All rights reserved.