HexCell.fromOffsetPointy constructor

HexCell.fromOffsetPointy(
  1. int col,
  2. int row
)

从偏移坐标创建单元格(尖顶朝上)

Implementation

factory HexCell.fromOffsetPointy(int col, int row) {
  return HexCell(coordinate: HexCoordinate.fromOffsetPointy(col, row));
}