Basics

Guides

API Reference

Menu

Basics

Guides

API Reference

class: DungeonCell

[16:7] extends: AStarCell

Wraps FXGL's DungeonCell (com.almasb.fxgl.pathfinding.dungeon.DungeonCell), the cell type produced by DungeonGrid. Extends AStarCell and starts in NOT_WALKABLE state — rooms / corridors are carved out by the dungeon generator.

Methods

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

    Creates a new DungeonCell at (X, Y).

  • adopt (object Ajo)

    Wraps an existing DungeonCell AussomJavaObject.

  • getX ()

  • getY ()

  • getState ()

  • isWalkable ()