Create a new Hexagon instance.

Parameters:

int sideLength The length of one side for the new Hexagon

Extends:

Shape

Examples:

var h = new Hexagon(2);
if (hasHex) { hex = new Hexagon(5); color = hex.getColor(); }