Skip to content

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

License

Notifications You must be signed in to change notification settings

clawfoot-software/HexGrid

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%