net.sf.gridarta.model.validation.checks
private class ConnectionChecker.Rec extends Object
Modifier and Type | Field and Description |
---|---|
private Set<G> |
sinkGameObjects
The sink game objects in this connection set.
|
private Set<G> |
sourceGameObjects
The source game objects in this connection set.
|
private Collection<G> |
unknowns
The game objects in this connection set which are neither sources nor
sinks.
|
Modifier | Constructor and Description |
---|---|
private |
ConnectionChecker.Rec() |
@NotNull private final Set<G extends GameObject<G,A,R>> sourceGameObjects
@NotNull private final Set<G extends GameObject<G,A,R>> sinkGameObjects
@NotNull private final Collection<G extends GameObject<G,A,R>> unknowns
private ConnectionChecker.Rec()
public void add(@NotNull G gameObject)
gameObject
- the game object to addpublic void addErrors(int connection, @NotNull MapModel<G,A,R> mapModel, @NotNull ErrorCollector<G,A,R> errorCollector)
connection
- the connection valuemapModel
- the map modelerrorCollector
- the error collector to add new errors toFeedback: webmaster
© 2003-2010 The Gridarta Developers. All rights reserved.