namespace Hallucinate.GameSetup.Maze
{
///
/// Interface for all maze generation algorithms.
/// Supports both immediate and step-by-step (animated) generation.
///
public interface IMazeAlgorithm
{
///
/// Generates the maze immediately in one frame.
///
void Generate(MazeGrid grid);
///
/// Generates the maze step-by-step for visualization.
///
System.Collections.IEnumerator GenerateStepByStep(MazeGrid grid, float interval);
}
}