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

    • Constructor Detail

      • DoubleLayerError

        public DoubleLayerError​(@NotNull
                                @NotNull MapSquare<G,​A,​R> mapSquare,
                                @NotNull
                                G archObject)
        Creates a new instance.
        Parameters:
        mapSquare - the square on which the error occurred
        archObject - the GameObject on which the error occurred
    • Method Detail

      • correct

        public void correct​(@NotNull
                            @NotNull java.awt.Component parentComponent)
        Description copied from interface: CorrectableError
        Try to correct this error.
        Specified by:
        correct in interface CorrectableError
        Parameters:
        parentComponent - parent component to display a dialog upon in case this error needs to query information from the user for correction