Show / Hide Table of Contents

Class RegenerateMapException

Raised by map generation steps if they detect that an invalid state (that can occasionally happen) is detected, and the map should be regenerated. Automatically used by the ConfigAndGenerateSafe(Action<Generator>, Int32) and ConfigAndGetStageEnumeratorSafe(Action<Generator>, Int32) functions.

Inheritance
Object
RegenerateMapException
Namespace: GoRogue.MapGeneration
Assembly: GoRogue.dll
Syntax
public class RegenerateMapException : Exception

Constructors

RegenerateMapException()

Creates map regeneration exception with no message.

Declaration
public RegenerateMapException()

RegenerateMapException(String)

Creates a map regeneration exception with a customized message.

Declaration
public RegenerateMapException(string message)
Parameters
Type Name Description
String message

RegenerateMapException(String, Exception)

Creates a map regeneration exception with a customized message an inner exception.

Declaration
public RegenerateMapException(string message, Exception innerException)
Parameters
Type Name Description
String message
Exception innerException

Extension Methods

Utility.Yield<T>(T)
In This Article
Back to top Generated by DocFX