Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Method: Structure<TCell> GenerateMaze(Random, MazeBias)

Declaration

public Structure<TCell> GenerateMaze(
    Random rnd = null,
    MazeBias bias = MazeBias.Default
)

Summary

Generates a maze on this structure.

Parameters

Randomrnd A random number generator.
MazeBiasbias Provides a means to influence the algorithm.

Exceptions

  • System.InvalidOperationException
    The current structure is disjointed (consists of more than one piece).