A hexagon cell for a hexgrid
npm install hexcell --save
var Point = require('point2d');
var Hexcell = require('hexcell');
var point = new Point(2, 3);
var cell = new Hexcell(point, { extraData: 3 });
console.log(cell.data.extraData); // 3
Creates a hexcell at point point2d
Creates a hexcell at point point2d
with an object data
that contains data
The data attached to this cell