image.png

<aside> 💡

Resolutions describes the layers of hexagons the game’s map is built on, and the data structures it entails

</aside>

Code examples

Trying to get a unit at a specified coordinate

game_state.map.unit_at(hex);

Drawing

image.png

image.png

image.png

https://excalidraw.com/#json=BGxrwa8HrsbWkpTMCvnCB,Nje2w0J4Uje3mpVUYjGnmA