Open mogggen opened 3 years ago
Tree texture locations for the green: 29 43 75 54 31
Water (V) can be explorers Red/brown for workers Silver/gray craftsmen
Water (V) can be explorers Red/brown for workers Silver/gray craftsmen
No, Brown is coalmill firebrick 0xb2, 0x22, 0x22 silver is workers 0xc0, 0xc0, 0xc0 Water(V) is explorer
https://github.com/mogggen/AI_Lab_3/blob/8376c4c15776a4402504682eee263f8f1dc6495c/pathfinding.py#L35
move from start (last A* was called from this node to the end of the path (that was returned over the duration of the last method call). calculate the previous function call and see if the algorithm has enough time before the world needs to redraw the player position by sorting the timer of each of the agents to see if the approximate time complexity of the next node of the path will have time to compute depending on previous calculations