Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get rid of Grid #1

Open
BlackScorp opened this issue Mar 23, 2016 · 0 comments
Open

Get rid of Grid #1

BlackScorp opened this issue Mar 23, 2016 · 0 comments

Comments

@BlackScorp
Copy link
Owner

Instead of the Grid class, we need another kind of collection helper which can get the parent neighbor nodes. The current Grid only works for 2D Array so this A* pathfinding cannot be used for Open Street map for example or hexagonal maps.

Maybe someone has an idea how to replace the Grid with NodeCollection class and implement different kinds of neighbor detection algorithm?

Here for example https://en.wikipedia.org/wiki/Adjacency_list

BlackScorp pushed a commit that referenced this issue Jan 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant