Class ConnectionWithoutSourcesError<G extends GameObject<G,​A,​R>,​A extends MapArchObject<A>,​R extends Archetype<G,​A,​R>>

  • All Implemented Interfaces:
    java.io.Serializable

    public class ConnectionWithoutSourcesError<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 sources exist.
    See Also:
    Serialized Form
    • Constructor Detail

      • ConnectionWithoutSourcesError

        public ConnectionWithoutSourcesError​(@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