Basics

Guides

API Reference

Menu

Basics

Guides

API Reference

class: MazeCell

[15:7] extends: AStarCell

Wraps FXGL's MazeCell (com.almasb.fxgl.pathfinding.maze.MazeCell), the cell type produced by MazeGrid. Each cell has a top and left wall flag which together describe one corner of the maze drawing.

Methods

  • MazeCell (int X = 0, int Y = 0)

    Creates a new MazeCell at (X, Y).

  • adopt (object Ajo)

    Wraps an existing MazeCell AussomJavaObject.

  • getX ()

  • getY ()

  • hasTopWall ()

  • hasLeftWall ()

  • setTopWall (bool V)

  • setLeftWall (bool V)

  • isWalkable ()