|
Gridarta Editor
|
A AttributeGameObjectMatcher that compares attributes values using "int" type. More...
Inheritance diagram for net.sf.gridarta.model.match.IntAttributeGameObjectMatcher:
Collaboration diagram for net.sf.gridarta.model.match.IntAttributeGameObjectMatcher:Public Member Functions | |
| IntAttributeGameObjectMatcher (@NotNull final String name, @NotNull final Operation operation, @NotNull final String value, final boolean useDefArch) throws ParsingException | |
| Creates an. More... | |
Public Member Functions inherited from net.sf.gridarta.model.match.AttributeGameObjectMatcher | |
| boolean | isMatching (@NotNull final GameObject<?, ?, ?> gameObject) |
| Matches an GameObject. More... | |
Protected Member Functions | |
| int | compareValue (@NotNull final GameObject<?, ?, ?> gameObject) |
Protected Member Functions inherited from net.sf.gridarta.model.match.AttributeGameObjectMatcher | |
| AttributeGameObjectMatcher (@NotNull final Operation operation) | |
| Creates an. More... | |
| abstract int | compareValue (@NotNull GameObject<?, ?, ?> gameObject) |
| Compares the attribute value of a given game object with the expected value. More... | |
Private Attributes | |
| final String | name |
| The attribute name to match. More... | |
| final boolean | useDefArch |
| Whether to query the archetype as well. More... | |
| final int | value |
| The attribute value to match. More... | |
Static Private Attributes | |
| static final long | serialVersionUID = 1L |
| The serial version UID. More... | |
A AttributeGameObjectMatcher that compares attributes values using "int" type.
Definition at line 30 of file IntAttributeGameObjectMatcher.java.
| net.sf.gridarta.model.match.IntAttributeGameObjectMatcher.IntAttributeGameObjectMatcher | ( | @NotNull final String | name, |
| @NotNull final Operation | operation, | ||
| @NotNull final String | value, | ||
| final boolean | useDefArch | ||
| ) | throws ParsingException |
Creates an.
.
| name | the attribute name to match |
| operation | the Operator |
| value | the attribute value to compare with |
| useDefArch | whether to query the archetype as well |
| ParsingException | if the value is not an integer |
Definition at line 64 of file IntAttributeGameObjectMatcher.java.
References net.sf.gridarta.model.match.IntAttributeGameObjectMatcher.name, net.sf.gridarta.model.match.AttributeGameObjectMatcher.operation, and net.sf.gridarta.model.match.IntAttributeGameObjectMatcher.useDefArch.
|
protected |
Definition at line 76 of file IntAttributeGameObjectMatcher.java.
|
private |
The attribute name to match.
Definition at line 42 of file IntAttributeGameObjectMatcher.java.
Referenced by net.sf.gridarta.model.match.IntAttributeGameObjectMatcher.IntAttributeGameObjectMatcher().
|
staticprivate |
The serial version UID.
Definition at line 35 of file IntAttributeGameObjectMatcher.java.
|
private |
Whether to query the archetype as well.
Definition at line 54 of file IntAttributeGameObjectMatcher.java.
Referenced by net.sf.gridarta.model.match.IntAttributeGameObjectMatcher.IntAttributeGameObjectMatcher().
|
private |
The attribute value to match.
Definition at line 48 of file IntAttributeGameObjectMatcher.java.