21 lines
496 B
Java
21 lines
496 B
Java
![]() |
package com.ncguy.usefulSkyblock;
|
||
|
|
||
|
import org.digitalsmile.hexgrid.HexagonGrid;
|
||
|
import org.digitalsmile.hexgrid.layout.Orientation;
|
||
|
import org.digitalsmile.hexgrid.shapes.hexagonal.HexagonalShape;
|
||
|
|
||
|
public class HexagonalWorld {
|
||
|
|
||
|
public void Init() {
|
||
|
var hexagonGrid = new HexagonGrid.HexagonGridBuilder<>()
|
||
|
.shape(new HexagonalShape(5), Orientation.FLAT)
|
||
|
.hexagonWidth(150)
|
||
|
.build();
|
||
|
hexagonGrid.generateHexagons();
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
}
|