|
Gridarta Editor
|
Utility class to parse "connected" fields in game objects. More...
Collaboration diagram for net.sf.gridarta.model.connectionview.Connections:Static Public Member Functions | |
| static int [] | parseConnections (@NotNull final BaseObject<?, ?, ?, ?> gameObject) |
| Extract the "connected" value(s) from a given game object. More... | |
Private Member Functions | |
| Connections () | |
| Private constructor to prevent instantiation. More... | |
Static Private Attributes | |
| static final Pattern | PATTERN_VALUE_SEPARATOR = Pattern.compile(",\\s*") |
| Pattern to split different values in "connected" field arguments. More... | |
| static final Pattern | PATTERN_VALUES = Pattern.compile("\\d+(, *\\d+)*") |
| Pattern to match the arguments of "connected" fields. More... | |
Utility class to parse "connected" fields in game objects.
Definition at line 31 of file Connections.java.
|
private |
Private constructor to prevent instantiation.
Definition at line 46 of file Connections.java.
|
static |
Extract the "connected" value(s) from a given game object.
| gameObject | the game object to process |
Definition at line 56 of file Connections.java.
Referenced by net.sf.gridarta.model.validation.checks.ConnectionChecker< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.check(), and net.sf.gridarta.gui.panel.connectionview.ConnectionView< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.scanGameObject().
Here is the caller graph for this function:
|
staticprivate |
Pattern to split different values in "connected" field arguments.
Definition at line 41 of file Connections.java.
|
staticprivate |
Pattern to match the arguments of "connected" fields.
Definition at line 36 of file Connections.java.