Basics

Guides

API Reference

Menu

Basics

Guides

API Reference

class: MazeGrid

[15:7] extends: TraversableGrid

Wraps FXGL's MazeGrid (com.almasb.fxgl.pathfinding.maze.MazeGrid), a perfect-maze generator expressed as a TraversableGrid. Each MazeCell carries top/left wall flags used to render the maze; the grid stays compatible with A* pathfinding.

Methods

  • MazeGrid (int Width = 0, int Height = 0)

    Creates a new MazeGrid of given dimensions.

  • adopt (object Ajo)

    Wraps an existing MazeGrid AussomJavaObject.

  • getWidth ()

  • getHeight ()

  • get (int X, int Y)

  • getWalkableCells ()