file: Cell.aus

class: Cell

[17:7] extends: FxObj

Wraps a single cell inside a Grid. FXGL's Cell is abstract; this wrapper holds either a concrete AussomSimpleCell (Aussom's no-extra-data subclass) or any subclass returned from FXGL code (for example AStarCell from pathfinding). Cells carry an integer (x, y) position, optional user data, and a Manhattan-distance helper. The (x, y) and userData are the part Aussom users normally interact with.

Methods