labyrinth-frontend/app/model/maze.ts
Manuel Friedli 3efb87bcd8
All checks were successful
/ maven-build (push) Successful in 20s
Refactor
2026-03-07 23:47:38 +01:00

19 lines
357 B
TypeScript

import Coordinates from "./coordinates.ts";
export default interface Maze {
id: string,
width: number,
height: number,
start: Coordinates,
end: Coordinates,
algorithm: string,
grid: MazeCell[][]
}
export interface MazeCell {
top: boolean,
right: boolean,
bottom: boolean,
left: boolean,
solution: boolean
}