file: Grid.aus

class: Grid

[20:7] extends: FxObj

Wraps FXGL's Grid, a typed 2D array of Cell subclasses with cell neighbor queries. Most game code uses AStarGrid (chunk 4 pathfinding) rather than constructing a Grid directly, but for tile-map storage and simple cell queries Grid is the building block. The default constructor builds an AussomSimpleCell-typed grid of the given dimensions. Cell access (get / set) returns Cell wrappers; neighbor queries return a list of Cell wrappers.

Methods