Class ConnectionWithoutSinksError<G extends GameObject<G,​A,​R>,​A extends MapArchObject<A>,​R extends Archetype<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
    • 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 occurred
        connected - the erroneous connected value
        gameObjects - the erroneous game objects