|
Gridarta Editor
|
An GameObjectMatcher that simply matches an archetype name. More...
Inheritance diagram for net.sf.gridarta.model.match.MutableNameGameObjectMatcher:
Collaboration diagram for net.sf.gridarta.model.match.MutableNameGameObjectMatcher:Public Member Functions | |
| String | getName () |
| Returns the archetype name matched by this matcher. More... | |
| boolean | isMatching (@NotNull final GameObject<?, ?, ?> gameObject) |
| Matches an GameObject. More... | |
| MutableNameGameObjectMatcher (@NotNull final String name) | |
| Creates a new instance. More... | |
| void | setName (@NotNull final String name) |
| Sets the archetype name to match. More... | |
Private Attributes | |
| String | name |
| The archetype name to match. More... | |
Static Private Attributes | |
| static final long | serialVersionUID = 1L |
| The serial version UID. More... | |
An GameObjectMatcher that simply matches an archetype name.
This is probably the most basic and most simple implementation of GameObjectMatcher.
Definition at line 31 of file MutableNameGameObjectMatcher.java.
| net.sf.gridarta.model.match.MutableNameGameObjectMatcher.MutableNameGameObjectMatcher | ( | @NotNull final String | name | ) |
Creates a new instance.
| name | the archetype name to match against |
Definition at line 49 of file MutableNameGameObjectMatcher.java.
References net.sf.gridarta.model.match.MutableNameGameObjectMatcher.name.
| String net.sf.gridarta.model.match.MutableNameGameObjectMatcher.getName | ( | ) |
Returns the archetype name matched by this matcher.
Definition at line 63 of file MutableNameGameObjectMatcher.java.
References net.sf.gridarta.model.match.MutableNameGameObjectMatcher.name.
| boolean net.sf.gridarta.model.match.MutableNameGameObjectMatcher.isMatching | ( | @NotNull final GameObject<?, ?, ?> | gameObject | ) |
Matches an GameObject.
| gameObject | the GameObject |
Implements net.sf.gridarta.model.match.GameObjectMatcher.
Definition at line 54 of file MutableNameGameObjectMatcher.java.
| void net.sf.gridarta.model.match.MutableNameGameObjectMatcher.setName | ( | @NotNull final String | name | ) |
Sets the archetype name to match.
| name | the archetype name to match against |
Definition at line 71 of file MutableNameGameObjectMatcher.java.
References net.sf.gridarta.model.match.MutableNameGameObjectMatcher.name.
|
private |
The archetype name to match.
Definition at line 43 of file MutableNameGameObjectMatcher.java.
Referenced by net.sf.gridarta.model.match.MutableNameGameObjectMatcher.getName(), net.sf.gridarta.model.match.MutableNameGameObjectMatcher.MutableNameGameObjectMatcher(), and net.sf.gridarta.model.match.MutableNameGameObjectMatcher.setName().
|
staticprivate |
The serial version UID.
Definition at line 36 of file MutableNameGameObjectMatcher.java.