kelindar / tile

Tile is a 2D grid engine, built with data and cache friendly ways, includes pathfinding and observers.
MIT License
156 stars 19 forks source link

Use `NewGridOf` in readme example #7

Closed Xkonti closed 11 months ago

Xkonti commented 1 year ago

This PR changes the NewGrid to NewGridOf in the initial code example in README.md.

The NewGrid is not generic and internally uses the NewGridOf[string]. Seems like the intention of the introductory explanation was to show NewGridOf instead.