Don't.
You'll need a game loop for that, which will run once per frame and update all the entities.
Type: Posts; User: manasij7479
Don't.
You'll need a game loop for that, which will run once per frame and update all the entities.
Read up on path finding algorithms.
You can do that with threads, but it'd be unnecessarily complicating things.
Just update all the entities serially before each frame is drawn, and if...