Function TileMap.getCell

Returns the tile index of the given cell. If no tile exists in the cell, returns constant INVALID_CELL.

long getCell (
  const(long) x,
  const(long) y
) nothrow @nogc const;