DEV Community

Discussion on: A Star (A*) Path Finding C++

Collapse
 
jansonsa profile image
Andris Jansons

Hi, "obstacles" is an std::set object. I'm using .count() to check if the corresponding tile is an obstacle or not. "world" is just a class where I keep it

Collapse
 
muhammadkhan786 profile image
MuhammadKhan786

how we can use this world, can you please out?