namespace Baba_yaga.GameSetup.Maze
{
///
/// Interface for all maze generation algorithms.
/// Supports both immediate and step-by-step (animated) generation.
///
[UnityEngine.Scripting.APIUpdating.MovedFrom(true, sourceNamespace: "Hallucinate.GameSetup.Maze", sourceAssembly: "Opsive.UltimateCharacterController")]
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, int cellsPerFrame);
}
}