svejdo1 / HexGrid

A logical hex-grid implementation based on Amit Patel's examples

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HexGrid

A logical hex-grid implementation based on Amit Patel's examples at http://www.redblobgames.com/grids/hexagons/.

Overview

Gives mathematical support for various operations over hex-tiled map. Like:

  • if I click on this point, which hex tile I have clicked on
  • drawing a line in hex-tiled space
  • finding a neighbour in hex-tiled space
  • I have a hex with this coordinates, where will be its center and vertexes

Nuget

https://www.nuget.org/packages/Barbar.HexGrid/

Install-Package Barbar.HexGrid

License

Licensed under the MIT License. See the LICENCE file for more information.

About

A logical hex-grid implementation based on Amit Patel's examples

License:MIT License


Languages

Language:C# 100.0%