Gridarta Editor
net.sf.gridarta.model.match.NotGameObjectMatcher Class Reference

A GameObjectMatcher that negates another. More...

+ Inheritance diagram for net.sf.gridarta.model.match.NotGameObjectMatcher:
+ Collaboration diagram for net.sf.gridarta.model.match.NotGameObjectMatcher:

Public Member Functions

boolean isMatching (@NotNull final GameObject<?, ?, ?> gameObject)
 Matches a GameObject. More...
 
 NotGameObjectMatcher (@NotNull final GameObjectMatcher gameObjectMatcher)
 Creates a new instance. More...
 

Private Attributes

final GameObjectMatcher gameObjectMatcher
 The GameObjectMatcher to negate. More...
 

Static Private Attributes

static final long serialVersionUID = 1L
 The serial version UID. More...
 

Detailed Description

A GameObjectMatcher that negates another.

GameObjectMatcher

.

Author
Christian Hujer

Definition at line 29 of file NotGameObjectMatcher.java.

Constructor & Destructor Documentation

◆ NotGameObjectMatcher()

net.sf.gridarta.model.match.NotGameObjectMatcher.NotGameObjectMatcher ( @NotNull final GameObjectMatcher  gameObjectMatcher)

Creates a new instance.

Parameters
gameObjectMatcherthe matcher to negate

Definition at line 47 of file NotGameObjectMatcher.java.

References net.sf.gridarta.model.match.NotGameObjectMatcher.gameObjectMatcher.

Member Function Documentation

◆ isMatching()

boolean net.sf.gridarta.model.match.NotGameObjectMatcher.isMatching ( @NotNull final GameObject<?, ?, ?>  gameObject)

Matches a GameObject.

Parameters
gameObjectthe
GameObject
to match
Returns
true
if this matcher matches the given game object, otherwise
false

Implements net.sf.gridarta.model.match.GameObjectMatcher.

Definition at line 52 of file NotGameObjectMatcher.java.

References net.sf.gridarta.model.match.NotGameObjectMatcher.gameObjectMatcher, and net.sf.gridarta.model.match.GameObjectMatcher.isMatching().

+ Here is the call graph for this function:

Member Data Documentation

◆ gameObjectMatcher

final GameObjectMatcher net.sf.gridarta.model.match.NotGameObjectMatcher.gameObjectMatcher
private

◆ serialVersionUID

final long net.sf.gridarta.model.match.NotGameObjectMatcher.serialVersionUID = 1L
staticprivate

The serial version UID.

Definition at line 34 of file NotGameObjectMatcher.java.


The documentation for this class was generated from the following file: