Class ConnectionWithoutSinksError<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>>
- java.lang.Object
-
- net.sf.gridarta.model.validation.errors.ValidationError<G,A,R>
-
- net.sf.gridarta.model.validation.errors.MapValidationError<G,A,R>
-
- net.sf.gridarta.model.validation.errors.ConnectionError<G,A,R>
-
- net.sf.gridarta.model.validation.errors.ConnectionWithoutSinksError<G,A,R>
-
- All Implemented Interfaces:
java.io.Serializable
public class ConnectionWithoutSinksError<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>> extends ConnectionError<G,A,R>
Validation error for a set of connected objects for which no sinks exist.- See Also:
- Serialized Form
-
-
Method Summary
-
Methods inherited from class net.sf.gridarta.model.validation.errors.ConnectionError
getParameter
-
Methods inherited from class net.sf.gridarta.model.validation.errors.ValidationError
addGameObject, addMapSquare, getGameObjects, getMapModel, getMapSquares, getMessage, toString
-
-
-
-
Constructor Detail
-
ConnectionWithoutSinksError
public ConnectionWithoutSinksError(@NotNull @NotNull MapModel<G,A,R> mapModel, int connected, @NotNull @NotNull java.lang.Iterable<G> gameObjects)Creates a new instance.- Parameters:
mapModel- the map on which the error occurredconnected- the erroneous connected valuegameObjects- the erroneous game objects
-
-