-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(grid): a grid can now be created with an optional traverser
A grid without traverser is pretty useless. So an optional traverser can now be passed as the 2nd argument to the Grid constructor (or `Grid.of()`) and will be converted to internal "hex state". Made the clone method private because I don't think people will use it and it requires an internal function (GetHexState) is passed.
- Loading branch information
1 parent
37811fa
commit e56ced8
Showing
3 changed files
with
56 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters